fix: resolve ssr:false in Server Component build error by creating Client Component wrappers

This commit is contained in:
2026-06-27 08:09:26 +02:00
parent feb8372a7c
commit e13ce8bcec
3 changed files with 16 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
'use client';
import dynamic from 'next/dynamic';
export const DynamicMobileBottomNav = dynamic(
() => import('./MobileBottomNav').then(mod => mod.MobileBottomNav),
{ ssr: false }
);

View File

@@ -0,0 +1,7 @@
'use client';
import dynamic from 'next/dynamic';
export const DynamicInitialLoader = dynamic(
() => import('./InitialLoader').then(mod => mod.InitialLoader),
{ ssr: false }
);