fix: force-dynamic on profile page to prevent static prerender crash
This commit is contained in:
9
src/app/(main)/profile/layout.tsx
Normal file
9
src/app/(main)/profile/layout.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export default function ProfileLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return children;
|
||||
}
|
||||
Reference in New Issue
Block a user