From c92159064340bf8055b6a8d4990ccf26d6d33e7c Mon Sep 17 00:00:00 2001 From: James Grugett Date: Sun, 7 Aug 2022 12:49:39 -0700 Subject: [PATCH] Fix error --- web/pages/index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/pages/index.tsx b/web/pages/index.tsx index c1892939..23a9c225 100644 --- a/web/pages/index.tsx +++ b/web/pages/index.tsx @@ -27,9 +27,7 @@ export const getServerSideProps = redirectIfLoggedIn('/home', async (_) => { return { props: { hotContracts } } }) -export default function Home(props: { hotContracts: Contract[] }) { - const { hotContracts } = props - +export default function Home(_props: { hotContracts: Contract[] }) { useSaveReferral() const user = useUser() @@ -53,7 +51,7 @@ export default function Home(props: { hotContracts: Contract[] }) { - + {/*

View{' '}