feat(app): update dashboard layout and student learning error boundaries
- Update src/app/layout.tsx - Update student/learning/study-path/error.tsx
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
"use client"
|
||||
|
||||
import { RouteError } from "@/shared/components/route-error"
|
||||
import { RouteErrorBoundary } from "@/shared/components/route-error"
|
||||
|
||||
export default function StudentStudyPathError({
|
||||
error,
|
||||
reset,
|
||||
}: {
|
||||
error: Error & { digest?: string }
|
||||
reset: () => void
|
||||
}) {
|
||||
return <RouteError error={error} reset={reset} namespace="student" />
|
||||
return <RouteErrorBoundary reset={reset} namespace="student" />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user