Skip to content

Commit 36c8134

Browse files
committed
Fix unhandled server error on certain deprecated chain slugs
1 parent ba9a7d4 commit 36c8134

File tree

1 file changed

+1
-1
lines changed
  • apps/dashboard/src/app/(dashboard)/(chain)

1 file changed

+1
-1
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export async function getChain(
8686
).then((res) => res.json()) as Promise<{ data: ChainServices }>,
8787
]);
8888

89-
if (!chain.data) {
89+
if (!chain.data || !chainServices.data) {
9090
notFound();
9191
}
9292
return {

0 commit comments

Comments
 (0)