Add admin dashboard data loading & package dependencies

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.
This commit is contained in:
giancarlo
2024-04-08 14:34:47 +08:00
parent 9a5e614ad5
commit 4655f56143
11 changed files with 175 additions and 98 deletions

View File

@@ -14,6 +14,7 @@
"./components": "./src/components/index.ts"
},
"peerDependencies": {
"@hookform/resolvers": "3.3.4",
"@kit/billing": "0.1.0",
"@kit/shared": "^0.1.0",
"@kit/stripe": "0.1.0",
@@ -24,6 +25,7 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@hookform/resolvers": "^3.3.4",
"@kit/billing": "workspace:^",
"@kit/eslint-config": "workspace:*",
"@kit/lemon-squeezy": "workspace:^",