Skip to content

Commit 6ffb732

Browse files
committed
fix: restore hackathon route param assumption
1 parent ef8ec5f commit 6ffb732

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pages/hackathon/[id].tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ export const getServerSideProps = compose<{ id: string }>(
8383
cache(),
8484
errorLogger,
8585
async ({ params }) => {
86-
if (!params?.id) return { notFound: true };
87-
8886
const activity = await new ActivityModel().getOne(params!.id);
8987
const { appId, tableIdMap } = activity.databaseSchema || {};
9088

0 commit comments

Comments
 (0)