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}
diff --git a/src/app/search/page.tsx b/src/app/search/page.tsx
index a4bfaa5..f3e09be 100644
--- a/src/app/search/page.tsx
+++ b/src/app/search/page.tsx
@@ -84,6 +84,12 @@ function page() {
},
});
+ const noResult = () => (
+
+ 검색 결과가 없습니다. 😢
+
+ );
+
useEffect(() => {
if (!hasNextPage) return;
const observer = new IntersectionObserver(
@@ -107,46 +113,57 @@ function page() {
return (
-
- {searchType === 'category' ? (
-
-
-
- #{category.category_name[Number(searchKeyword)]}
-
-
- ) : (
-
-
- "{searchKeyword}"
-
- 검색 결과
-
- )}
+
+
+ {searchType === 'category' ? (
+
+
+
+ #{category.category_name[Number(searchKeyword)]}
+
+
+ ) : (
+
+
+ "{searchKeyword}"
+
+ 검색 결과
+
+ )}
+
+
+
{data?.pages.map((page: any, pageIndex) =>
page?.meeting_list.map((meeting: any, index: any) => (
-
+ <>
+
+ >
)),
)}
+ {data?.pages.length === 1 && noResult()}