diff --git a/src/app/account/[userIdParam]/Profile.tsx b/src/app/account/[userIdParam]/Profile.tsx index 0ea02fa..d630259 100644 --- a/src/app/account/[userIdParam]/Profile.tsx +++ b/src/app/account/[userIdParam]/Profile.tsx @@ -110,7 +110,7 @@ function Profile({ id }: accountIdProps) { return (
-
+
{isEdit && ( @@ -247,10 +247,11 @@ function Profile({ id }: accountIdProps) { setStatusMessage(statusMessageRef.current); } }} + placeholder="소개 메세지를 입력해주세요." /> ) : (

- {statusMessage} + {statusMessage || `${name}님의 프로필입니다.`}

)}
@@ -259,7 +260,7 @@ function Profile({ id }: accountIdProps) { }; return ( -
+
diff --git a/src/app/account/[userIdParam]/page.tsx b/src/app/account/[userIdParam]/page.tsx index 888b596..0025a41 100644 --- a/src/app/account/[userIdParam]/page.tsx +++ b/src/app/account/[userIdParam]/page.tsx @@ -7,7 +7,7 @@ function Account(props: any) { const userId = Number(decodeURIComponent(props.params.userIdParam)); return ( -
+
diff --git a/src/app/components/Header.tsx b/src/app/components/Header.tsx index b4a923f..ae05f85 100644 --- a/src/app/components/Header.tsx +++ b/src/app/components/Header.tsx @@ -27,9 +27,9 @@ function Header() { // 토큰이 있는데 401 에러가 발생하면 새로고침 if (isError && getCookie('accessToken')) { - setTimeout(() => { - window.location.reload(); - }, 100); + // setTimeout(() => { + // window.location.reload(); + // }, 100); } if (ignorePath().includes(path)) { @@ -145,7 +145,7 @@ function Header() { {category.category_name.map((item: string, index: number) => ( setOpenMenu(false)} > diff --git a/src/app/layout.tsx b/src/app/layout.tsx index fd11d16..4be9f62 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -31,9 +31,7 @@ export default function RootLayout({ 로딩중인데요?ㅋㅋ
}>
-
- {children} -
+
{children}