fix: remove ssr:false from dynamic imports in server components
Turbopack rejects ssr:false in Server Components. Removed from 4 dynamic imports in: - src/app/(site)/layout.tsx (RadioPlayerGate) - src/app/admin/analytics/economy/page.tsx (RevenueChart) - src/app/admin/analytics/page.tsx (DashboardChart, PeakHoursHeatmap) - src/app/admin/media/page.tsx (AdminMediaGrid)
This commit is contained in:
1 parent
30c95b1a5c
commit
5e598a08b4
4 files changed
-5
No files matched your search
@@ -25,7 +25,6 @@ const DashboardChart = dynamic(
|
||||
loading: () => (
|
||||
<div className="animate-pulse bg-[var(--admin-surface)] rounded h-48" />
|
||||
),
|
||||
ssr: false,
|
||||
},
|
||||
);
|
||||
|
||||
@@ -38,7 +37,6 @@ const PeakHoursHeatmap = dynamic(
|
||||
loading: () => (
|
||||
<div className="animate-pulse bg-[var(--admin-surface)] rounded h-48" />
|
||||
),
|
||||
ssr: false,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user