fix: force-dynamic on app layout to skip SSR static gen for all pages

This commit is contained in:
2026-04-01 04:49:20 +00:00
parent 8156c1f207
commit ef6b6a3ad4
2 changed files with 3 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
'use client';
export const dynamic = 'force-dynamic';
import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';