
-
{userName || 'Profile'}
+
{name || 'Profile'}
diff --git a/frontend/src/pages/admin/AdminSchedulePage.tsx b/frontend/src/pages/admin/AdminSchedulePage.tsx
index 9af77826..05d09faa 100644
--- a/frontend/src/pages/admin/AdminSchedulePage.tsx
+++ b/frontend/src/pages/admin/AdminSchedulePage.tsx
@@ -53,7 +53,7 @@ const AdminSchedulePage: React.FC = () => {
const handleError = (err: any) => {
if (isLoginRequiredError(err)) {
alert('로그인이 필요해요.');
- navigate('/login', { state: { from: location } });
+ navigate('/admin/login', { state: { from: location } });
} else {
const message = err.response?.data?.message || '알 수 없는 오류가 발생했습니다.';
alert(message);
diff --git a/frontend/src/pages/admin/AdminThemeEditPage.tsx b/frontend/src/pages/admin/AdminThemeEditPage.tsx
index 91af8d32..25658360 100644
--- a/frontend/src/pages/admin/AdminThemeEditPage.tsx
+++ b/frontend/src/pages/admin/AdminThemeEditPage.tsx
@@ -25,7 +25,7 @@ const AdminThemeEditPage: React.FC = () => {
const handleError = (err: any) => {
if (isLoginRequiredError(err)) {
alert('로그인이 필요해요.');
- navigate('/login', { state: { from: location } });
+ navigate('/admin/login', { state: { from: location } });
} else {
const message = err.response?.data?.message || '알 수 없는 오류가 발생했습니다.';
alert(message);
diff --git a/frontend/src/pages/admin/AdminThemePage.tsx b/frontend/src/pages/admin/AdminThemePage.tsx
index 8d69b19a..d9d7dd4b 100644
--- a/frontend/src/pages/admin/AdminThemePage.tsx
+++ b/frontend/src/pages/admin/AdminThemePage.tsx
@@ -13,7 +13,7 @@ const AdminThemePage: React.FC = () => {
const handleError = (err: any) => {
if (isLoginRequiredError(err)) {
alert('로그인이 필요해요.');
- navigate('/login', { state: { from: location } });
+ navigate('/admin/login', { state: { from: location } });
} else {
const message = err.response?.data?.message || '알 수 없는 오류가 발생했습니다.';
alert(message);