472d87c829
- Add error.tsx to all 13 route groups: admin, allocations, analytics, dashboard, estimates, notifications, projects, reports, resources, roles, staffing, timeline, vacations - Add loading.tsx to 9 routes that were missing them: admin, analytics, dashboard, estimates, notifications, reports, roles, staffing, vacations - ResourceDetail: wrap vacationStart in useMemo to stabilize query key, remove dead windowEnd variable - node-renderer.ts: replace barrel import (import * as THREE) with named imports for tree-shaking - next.config.ts: add framer-motion and @capakraken/shared to optimizePackageImports Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
408 B
TypeScript
11 lines
408 B
TypeScript
export default function Loading() {
|
|
return (
|
|
<div className="p-6 space-y-4 animate-pulse">
|
|
<div className="h-8 bg-gray-200 dark:bg-gray-700 rounded w-1/4" />
|
|
<div className="h-4 bg-gray-200 dark:bg-gray-700 rounded w-full" />
|
|
<div className="h-4 bg-gray-200 dark:bg-gray-700 rounded w-3/4" />
|
|
<div className="h-4 bg-gray-200 dark:bg-gray-700 rounded w-5/6" />
|
|
</div>
|
|
);
|
|
}
|