diff --git a/src/frontend/apps/impress/src/pages/pads/[id].tsx b/src/frontend/apps/impress/src/pages/pads/[id].tsx index ccd86a88..ab251253 100644 --- a/src/frontend/apps/impress/src/pages/pads/[id].tsx +++ b/src/frontend/apps/impress/src/pages/pads/[id].tsx @@ -15,7 +15,7 @@ const Page: NextPageWithLayout = () => { } = useRouter(); if (typeof id !== 'string') { - throw new Error('Invalid pad id'); + return null; } return ;