Skip to content

Commit

Permalink
Addressing review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimkiv committed Jun 6, 2024
1 parent a2cd845 commit 6203d48
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/zkapps/04-zkapp-browser-ui/ui/ghp-postbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const __dirname = dirname(__filename);
const cssDir = join(__dirname, '/out/_next/static/css');

// Update your repository name here if it is different from the project name.
let repoURL = "04-zkapp-browser-ui";
let repoURL = '04-zkapp-browser-ui';
const files = readdirSync(cssDir);

files.forEach((file) => {
Expand Down
6 changes: 3 additions & 3 deletions examples/zkapps/04-zkapp-browser-ui/ui/src/pages/api/hello.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import type { NextApiRequest, NextApiResponse } from "next";
import type { NextApiRequest, NextApiResponse } from 'next';

type Data = {
name: string;
};

export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>,
res: NextApiResponse<Data>
) {
res.status(200).json({ name: "John Doe" });
res.status(200).json({ name: 'John Doe' });
}
5 changes: 5 additions & 0 deletions examples/zkapps/04-zkapp-browser-ui/ui/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ a {
color: inherit;
text-decoration: none;
}

a:hover {
text-decoration: underline;
opacity: 0.7;
}

0 comments on commit 6203d48

Please sign in to comment.