diff --git a/web/pages/[username]/[contractId].tsx b/web/pages/[username]/[contractId].tsx index 28bccd5e..ad756907 100644 --- a/web/pages/[username]/[contractId].tsx +++ b/web/pages/[username]/[contractId].tsx @@ -11,6 +11,7 @@ import { Col } from '../../components/layout/col' import { useUser } from '../../hooks/use-user' import { ResolutionPanel } from '../../components/resolution-panel' import { Contract, getContract } from '../../lib/firebase/contracts' + export async function getStaticProps({ params }: { params: any }) { console.log('params', params) const contract = await getContract(params.contractId) @@ -25,7 +26,7 @@ export async function getStaticProps({ params }: { params: any }) { export async function getStaticPaths() { return { paths: [], - fallback: true, + fallback: 'blocking', } }