fix: parallell routes needs a page.tsx in root not just in catchAll route

This commit is contained in:
Simon Emanuelsson
2024-04-16 12:42:44 +02:00
parent 349afd4100
commit 3aeaee64fb
9 changed files with 30 additions and 7 deletions

View File

@@ -6,5 +6,4 @@ import type { LangParams, PageArgs } from "@/types/params"
export default function MyPages({ params }: PageArgs<LangParams>) {
redirect(overview[params.lang])
return null
}