- Add error.tsx and loading.tsx boundaries for admin, parent, student, teacher routes - Add dashboard-error-fallback and dashboard-loading-skeleton components - Add student/learning page, parent/leave routes, teacher textbook components - Update existing app routes across auth, dashboard, and API endpoints - Update proxy middleware and next-auth type declarations
8 lines
296 B
TypeScript
8 lines
296 B
TypeScript
"use client"
|
|
|
|
import { DashboardErrorFallback } from "@/modules/dashboard/components/dashboard-error-fallback"
|
|
|
|
export default function DashboardError({ error, reset }: { error: Error & { digest?: string }; reset: () => void }) {
|
|
return <DashboardErrorFallback error={error} reset={reset} />
|
|
}
|