feat(dashboard): add dynamic loading for dashboard component
feat(team-account-benefit-statistics): implement benefit statistics card with budget and booking details feat(team-account-health-details): create health details component displaying account health metrics feat(team-account-statistics): develop team account statistics page with charts and customer table feat(load-team-account-health-details): add server-side function to retrieve account health details chore(migrations): create trigger for logging changes in account memberships
This commit is contained in:
15
app/home/[account]/_components/dashboard.tsx
Normal file
15
app/home/[account]/_components/dashboard.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
'use client';
|
||||
|
||||
import dynamic from 'next/dynamic';
|
||||
|
||||
import { LoadingOverlay } from '@kit/ui/loading-overlay';
|
||||
|
||||
export const Dashboard = dynamic(() => import('./team-account-statistics'), {
|
||||
ssr: false,
|
||||
loading: () => (
|
||||
<LoadingOverlay
|
||||
fullPage={false}
|
||||
className={'flex flex-1 flex-col items-center justify-center'}
|
||||
/>
|
||||
),
|
||||
});
|
||||
Reference in New Issue
Block a user