From 4a24aa7b49a71b15b09c30c861537cd54d6219cf Mon Sep 17 00:00:00 2001 From: Yash Goyal Date: Wed, 8 May 2024 02:49:19 +0530 Subject: [PATCH] changed some metadata --- packages/nextjs/app/layout.tsx | 2 +- packages/nextjs/app/polls/[id]/page.tsx | 3 +-- packages/nextjs/components/Header.tsx | 4 ++-- packages/nextjs/components/card/VoteCard.tsx | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/nextjs/app/layout.tsx b/packages/nextjs/app/layout.tsx index 8ed8ca4..b80adca 100644 --- a/packages/nextjs/app/layout.tsx +++ b/packages/nextjs/app/layout.tsx @@ -9,7 +9,7 @@ const baseUrl = process.env.VERCEL_URL : `http://localhost:${process.env.PORT || 3000}`; const imageUrl = `${baseUrl}/thumbnail.jpg`; -const title = "Scaffold-ETH 2 App"; +const title = "MACI Starter Kit"; const titleTemplate = "%s | Scaffold-ETH 2"; const description = "Built with 🏗 Scaffold-ETH 2"; diff --git a/packages/nextjs/app/polls/[id]/page.tsx b/packages/nextjs/app/polls/[id]/page.tsx index 6d27adf..8b2eedc 100644 --- a/packages/nextjs/app/polls/[id]/page.tsx +++ b/packages/nextjs/app/polls/[id]/page.tsx @@ -171,8 +171,7 @@ export default function PollDetail() { }); } - // // setLoaderMessage("Casting the vote, please wait..."); - // // router.push(`/voted-success?id=${clickedIndex}`); + notification.success("Vote casted successfully"); } catch (err) { console.log("err", err); notification.error("Casting vote failed, please try again "); diff --git a/packages/nextjs/components/Header.tsx b/packages/nextjs/components/Header.tsx index 94c4c2b..cf76070 100644 --- a/packages/nextjs/components/Header.tsx +++ b/packages/nextjs/components/Header.tsx @@ -103,8 +103,8 @@ export const Header = () => { SE2 logo
- Scaffold-ETH - Ethereum dev stack + MACI Wrapper + Private Voting Starter Kit