diff --git a/packages/interface/src/components/BallotOverview.tsx b/packages/interface/src/components/BallotOverview.tsx index d4659a1f..c6c5ddae 100644 --- a/packages/interface/src/components/BallotOverview.tsx +++ b/packages/interface/src/components/BallotOverview.tsx @@ -1,4 +1,5 @@ import Link from "next/link"; +import { useRouter } from "next/router"; import { Heading } from "~/components/ui/Heading"; import { useBallot } from "~/contexts/Ballot"; @@ -10,6 +11,7 @@ import { VotingUsage } from "./VotingUsage"; export const BallotOverview = (): JSX.Element => { const { ballot } = useBallot(); + const { asPath } = useRouter(); const appState = useAppState(); @@ -23,7 +25,7 @@ export const BallotOverview = (): JSX.Element => { >
- {initialVoiceCredits} -
+Votes Left
-initialVoiceCredits && "text-red")}> - {sum} -
+ {initialVoiceCredits} +Votes Used
@@ -44,7 +44,7 @@ export const BallotConfirmation = (): JSX.Element => {
{`Round you voted in: ${config.roundId}`} diff --git a/packages/interface/src/features/projects/components/Projects.tsx b/packages/interface/src/features/projects/components/Projects.tsx index 3ab2e80a..d8af65d8 100644 --- a/packages/interface/src/features/projects/components/Projects.tsx +++ b/packages/interface/src/features/projects/components/Projects.tsx @@ -71,7 +71,7 @@ export const Projects = (): JSX.Element => { content={
- Your vote currently doesn't have any projects added. Browse through the available projects. + There are currently no projects added. Browse through the available projects.