Removed 'admin-header.tsx' and 'admin-sidebar.tsx' components and added 'admin-dashboard.loader.ts' to handle loading data for the admin dashboard. Updated 'admin-dashboard.tsx' and 'page.tsx' to use this loader. Package dependencies were also updated in 'pnpm-lock.yaml' and 'package.json' files of relevant packages. This commit prioritizes loading dashboard data effectively and managing package dependencies.
15 lines
341 B
TypeScript
15 lines
341 B
TypeScript
import { AdminDashboard } from '@kit/admin/components/admin-dashboard';
|
|
import { PageBody, PageHeader } from '@kit/ui/page';
|
|
|
|
export default function AdminPage() {
|
|
return (
|
|
<>
|
|
<PageHeader title={'Admin'} description={`Your SaaS stats at a glance`} />
|
|
|
|
<PageBody>
|
|
<AdminDashboard />
|
|
</PageBody>
|
|
</>
|
|
);
|
|
}
|