platform/lms-adm-fe release promotion snapshot

This commit is contained in:
2026-08-12 06:43:42 +00:00
parent 7bf76c4265
commit 25cb8e1e0f
+8 -2
View File
@@ -109,8 +109,14 @@ function App() {
return next; return next;
}); });
}) })
.catch(() => { .catch((error) => {
if (!cancelled) setCourses([]); if (cancelled) return;
setCourses([]);
setSelectedCourseId('');
window.localStorage.removeItem('lms-admin-selected-course-id');
setInitialCourseOpen(true);
setInitialCourseError(error instanceof Error ? error.message : '강좌 목록을 불러오지 못했습니다.');
}); });
return () => { return () => {
cancelled = true; cancelled = true;