Fix error
This commit is contained in:
parent
0066589569
commit
c921590643
|
@ -27,9 +27,7 @@ export const getServerSideProps = redirectIfLoggedIn('/home', async (_) => {
|
||||||
return { props: { hotContracts } }
|
return { props: { hotContracts } }
|
||||||
})
|
})
|
||||||
|
|
||||||
export default function Home(props: { hotContracts: Contract[] }) {
|
export default function Home(_props: { hotContracts: Contract[] }) {
|
||||||
const { hotContracts } = props
|
|
||||||
|
|
||||||
useSaveReferral()
|
useSaveReferral()
|
||||||
|
|
||||||
const user = useUser()
|
const user = useUser()
|
||||||
|
@ -53,7 +51,7 @@ export default function Home(props: { hotContracts: Contract[] }) {
|
||||||
</div>
|
</div>
|
||||||
<Col className="items-center">
|
<Col className="items-center">
|
||||||
<Col className="max-w-3xl">
|
<Col className="max-w-3xl">
|
||||||
<LandingPagePanel hotContracts={hotContracts ?? []} />
|
<LandingPagePanel />
|
||||||
{/* <p className="mt-6 text-gray-500">
|
{/* <p className="mt-6 text-gray-500">
|
||||||
View{' '}
|
View{' '}
|
||||||
<SiteLink href="/markets" className="font-bold text-gray-700">
|
<SiteLink href="/markets" className="font-bold text-gray-700">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user