diff --git a/apps/web/pages/apps/[slug]/setup.tsx b/apps/web/pages/apps/[slug]/setup.tsx index 51fd2251d8..b472a0b974 100644 --- a/apps/web/pages/apps/[slug]/setup.tsx +++ b/apps/web/pages/apps/[slug]/setup.tsx @@ -31,13 +31,10 @@ export default function SetupInformation(props: InferGetStaticPropsType; } -export const getStaticPaths = async () => { - const appStore = await prisma.app.findMany({ select: { slug: true } }); - const paths = appStore.filter((a) => a.slug in AppSetupMap).map((app) => app.slug); - +export const getStaticPaths: GetStaticPaths = async () => { return { - paths: paths.map((slug) => ({ params: { slug } })), - fallback: false, + paths: [], + fallback: "blocking", }; };