We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74e52c0 commit b707b1fCopy full SHA for b707b1f
apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/layout.tsx
@@ -39,7 +39,7 @@ export default async function Layout(props: {
39
}
40
41
// check if the contract exists
42
- const isValidContract = await isContractDeployed(contract);
+ const isValidContract = await isContractDeployed(contract).catch(() => false);
43
if (!isValidContract) {
44
// TODO - replace 404 with a better page to upsale deploy or other thirdweb products
45
notFound();
0 commit comments