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:
SpecialX
2026-07-04 10:23:43 +08:00
parent d2c250a1b3
commit 4b6cb5f11e
2 changed files with 8 additions and 4 deletions

View File

@@ -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" />
}