- /admin opted out of shopper chrome in MyLayout; /admin added to server protectedRoutes; useRequireAdmin() gates to superusers (UserProfile.isSuperuser). - Admin shell (admin.tsx) with sidebar nav (Overview live; other sections stubbed) and a mobile top bar; Overview dashboard (KPI cards + 14-day orders chart) via use-admin-hooks.ts hitting /api/adminpanel/v1/overview/. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| use-prefetch.ts | ||
| use-root-data.ts | ||
| use-toast.ts | ||
| useBadgeCounts.ts | ||
| useCarousel.ts | ||
| useDebounce.ts | ||
| usePushNotifications.ts | ||
| useRequireAdmin.ts | ||
| useStoreOwnership.ts | ||
| useWebSocket.ts | ||