From 4b6cb5f11e879e09cfe7f328aabfdcff48fb064c Mon Sep 17 00:00:00 2001
From: SpecialX <47072643+wangxiner55@users.noreply.github.com>
Date: Sat, 4 Jul 2026 10:23:43 +0800
Subject: [PATCH] feat(app): update dashboard layout and student learning error
boundaries
- Update src/app/layout.tsx
- Update student/learning/study-path/error.tsx
---
src/app/(dashboard)/student/learning/study-path/error.tsx | 5 ++---
src/app/layout.tsx | 7 ++++++-
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/app/(dashboard)/student/learning/study-path/error.tsx b/src/app/(dashboard)/student/learning/study-path/error.tsx
index 565a4a1..511340e 100644
--- a/src/app/(dashboard)/student/learning/study-path/error.tsx
+++ b/src/app/(dashboard)/student/learning/study-path/error.tsx
@@ -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