From d04bbefd941481dacfda563086000dfc78676677 Mon Sep 17 00:00:00 2001 From: Jaxcoder Date: Mon, 17 Jun 2024 09:02:18 -0400 Subject: [PATCH] smol nits --- .../round-manager/src/features/program/ViewProgramPage.tsx | 6 +++--- .../round-manager/src/features/round/GrantApplications.tsx | 4 ++-- packages/round-manager/src/features/round/ViewRoundPage.tsx | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/round-manager/src/features/program/ViewProgramPage.tsx b/packages/round-manager/src/features/program/ViewProgramPage.tsx index 92c8a6367..12944da3a 100644 --- a/packages/round-manager/src/features/program/ViewProgramPage.tsx +++ b/packages/round-manager/src/features/program/ViewProgramPage.tsx @@ -27,10 +27,10 @@ export default function ViewProgram() { const programChainId = chainId ? Number(chainId) : chain?.id; const { program: programToRender, fetchProgramsStatus } = useProgramById( - programChainId!, + programChainId as number, programId ); - const { fetchRoundStatus } = useRounds(programChainId!, programId); + const { fetchRoundStatus } = useRounds(programChainId as number, programId); const [programExists] = useState(true); const [hasAccess] = useState(true); @@ -38,7 +38,7 @@ export default function ViewProgram() { if (programChainId !== chain?.id) { switchChain({ connector, chainId: programChainId as number }); } - // eslint-disable-next-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const operatorWallets: JSX.Element = ( diff --git a/packages/round-manager/src/features/round/GrantApplications.tsx b/packages/round-manager/src/features/round/GrantApplications.tsx index 100e043d2..a5f184ace 100644 --- a/packages/round-manager/src/features/round/GrantApplications.tsx +++ b/packages/round-manager/src/features/round/GrantApplications.tsx @@ -44,7 +44,7 @@ function GrantApplications(props: { }; const TabApplicationCounter = tw.div` - rounded-md + rounded-lg ml-2 w-8 h-5 @@ -124,7 +124,7 @@ function GrantApplications(props: { className={ selected ? "bg-violet-100" : "bg-grey-150" } - data-testid="received-application-counter" + data-testid="in-review-application-counter" > {inReviewApplications?.length || 0} diff --git a/packages/round-manager/src/features/round/ViewRoundPage.tsx b/packages/round-manager/src/features/round/ViewRoundPage.tsx index 494df7365..24089f895 100644 --- a/packages/round-manager/src/features/round/ViewRoundPage.tsx +++ b/packages/round-manager/src/features/round/ViewRoundPage.tsx @@ -105,6 +105,7 @@ export default function ViewRoundPage() { {"My Programs"} + {/* todo: update to use program id not the round id... */} {"Program Details"}