-
-
링크 삭제
-
{url}
-
+
+
+
링크 삭제
+
{url}
+ {linkId}
-
삭제하기
+
+ 삭제하기
+
);
From 440117cf92ebde66e625c4dae7a2524daf55ba2e Mon Sep 17 00:00:00 2001
From: hoj0806 <90647684+hoj0806@users.noreply.github.com>
Date: Mon, 13 May 2024 20:48:07 +0900
Subject: [PATCH 07/14] =?UTF-8?q?refactor=20:=20=EC=9D=B4=EB=A9=94?=
=?UTF-8?q?=EC=9D=BC=20=EC=A4=91=EB=B3=B5=20=EC=B2=B4=ED=81=AC=20url=20?=
=?UTF-8?q?=EB=B3=80=EA=B2=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/signupPage/SignupForm.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/signupPage/SignupForm.tsx b/components/signupPage/SignupForm.tsx
index 23ce0f17b..f04a9765d 100644
--- a/components/signupPage/SignupForm.tsx
+++ b/components/signupPage/SignupForm.tsx
@@ -45,7 +45,7 @@ const SignUpForm = () => {
): Promise
=> {
try {
const response = await fetch(
- "https://bootcamp-api.codeit.kr/api/check-email",
+ "https://bootcamp-api.codeit.kr/api/linkbrary/v1/users/check-email",
{
method: "POST",
headers: {
From a2eae1b2ca0720da20dc362ce97903905ac274b7 Mon Sep 17 00:00:00 2001
From: hoj0806 <90647684+hoj0806@users.noreply.github.com>
Date: Mon, 13 May 2024 20:53:59 +0900
Subject: [PATCH 08/14] =?UTF-8?q?refactor=20:=20=ED=9A=8C=EC=9B=90?=
=?UTF-8?q?=EA=B0=80=EC=9E=85=20url=20=EB=B3=80=EA=B2=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/folderPage/modal/ModalButton/ModalButton.tsx | 4 ++--
components/signupPage/SignupForm.tsx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/folderPage/modal/ModalButton/ModalButton.tsx b/components/folderPage/modal/ModalButton/ModalButton.tsx
index 6ae95f700..067135db6 100644
--- a/components/folderPage/modal/ModalButton/ModalButton.tsx
+++ b/components/folderPage/modal/ModalButton/ModalButton.tsx
@@ -3,10 +3,10 @@ import { childrenProps } from "../ModalWrapper/ModalWrapper";
export default function ModalButton({
children,
- handleAddButton,
+ handleAddModalClick,
}: childrenProps) {
return (
-
);
diff --git a/public/assets/images/favortie_link.svg b/public/assets/images/favortie_link.svg
new file mode 100644
index 000000000..f68490c1d
--- /dev/null
+++ b/public/assets/images/favortie_link.svg
@@ -0,0 +1,10 @@
+
From 155b08d7aee0082c0161e4085ab2756ae4a935c4 Mon Sep 17 00:00:00 2001
From: hoj0806 <90647684+hoj0806@users.noreply.github.com>
Date: Tue, 14 May 2024 00:44:56 +0900
Subject: [PATCH 10/14] =?UTF-8?q?feat=20:=20shared=20=ED=8E=98=EC=9D=B4?=
=?UTF-8?q?=EC=A7=80=20=EC=99=84=EC=84=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/folders.ts | 19 +++++++
api/user.ts | 2 +-
app/(FolderPage)/folder/[folderId]/page.tsx | 2 +
app/(SharedPage)/shared/[folderId]/page.tsx | 14 +++++-
app/(SharedPage)/shared/page.tsx | 11 +---
components/folderPage/LinkList/LinkList.tsx | 3 +-
.../LinkListByFolderId/LinkListByFolderId.tsx | 27 +++++-----
.../sharedPage/Profile/Profile.module.css | 1 +
components/sharedPage/Profile/Profile.tsx | 50 +++++++++++++------
.../SharePageFolderItem.tsx | 6 +--
.../SharePageFolderList/SharePageLinkList.tsx | 17 ++++---
util/Provider.tsx | 1 -
12 files changed, 103 insertions(+), 50 deletions(-)
diff --git a/api/folders.ts b/api/folders.ts
index d03b8bec2..3d152e54d 100644
--- a/api/folders.ts
+++ b/api/folders.ts
@@ -20,6 +20,25 @@ export const getAllFolders = async () => {
}
};
+export const getFolderById = async (folderId: number) => {
+ const accessToken = localStorage.getItem("accessToken");
+
+ try {
+ const response = await instance.get(
+ `https://bootcamp-api.codeit.kr/api/linkbrary/v1/folders/${folderId}`,
+ {
+ headers: {
+ Authorization: `Bearer ${accessToken}`, // Bearer 토큰 추가
+ },
+ }
+ );
+ return response.data;
+ } catch (error) {
+ console.error("Error");
+ throw error;
+ }
+};
+
export const addFolder = async (folderName: string) => {
const accessToken = localStorage.getItem("accessToken");
try {
diff --git a/api/user.ts b/api/user.ts
index 1bcb93774..69c691f7a 100644
--- a/api/user.ts
+++ b/api/user.ts
@@ -14,7 +14,7 @@ export const getUserInfo = async () => {
},
}
);
- return response;
+ return response.data;
} catch (error) {
console.error("Error fetching links:", error);
throw error;
diff --git a/app/(FolderPage)/folder/[folderId]/page.tsx b/app/(FolderPage)/folder/[folderId]/page.tsx
index 9493d3dfe..b05c2b240 100644
--- a/app/(FolderPage)/folder/[folderId]/page.tsx
+++ b/app/(FolderPage)/folder/[folderId]/page.tsx
@@ -22,6 +22,8 @@ const FolderPage = ({ params }: { folderId: string }) => {
} = useModal(false);
const [sharedUrl, setSharedUrl] = useState("");
+
+ console.log(window.location.href.replaceAll("folder", "shared"));
return (
<>
Folder | Linkbrary
diff --git a/app/(SharedPage)/shared/[folderId]/page.tsx b/app/(SharedPage)/shared/[folderId]/page.tsx
index 630a5e949..366333257 100644
--- a/app/(SharedPage)/shared/[folderId]/page.tsx
+++ b/app/(SharedPage)/shared/[folderId]/page.tsx
@@ -1,16 +1,26 @@
import Profile from "@/components/sharedPage/Profile/Profile";
import SharedPageMain from "@/components/sharedPage/SharedPageMain/SharedPageMain";
import HeaderFooterLayout from "@/app/headerFooterLayout";
+import { useQuery } from "@tanstack/react-query";
+import { getFolderById } from "@/api/folders";
+import {
+ dehydrate,
+ HydrationBoundary,
+ QueryClient,
+} from "@tanstack/react-query";
export const metadata = {
title: "Shared",
};
+export const queryClient = new QueryClient();
const SharedPage = async ({ params }: { folderId: string }) => {
return (
-
-
+
+
+
+
);
};
diff --git a/app/(SharedPage)/shared/page.tsx b/app/(SharedPage)/shared/page.tsx
index 62cb13236..be64243d5 100644
--- a/app/(SharedPage)/shared/page.tsx
+++ b/app/(SharedPage)/shared/page.tsx
@@ -1,18 +1,9 @@
-import Profile from "@/components/sharedPage/Profile/Profile";
-import SharedPageMain from "@/components/sharedPage/SharedPageMain/SharedPageMain";
-import HeaderFooterLayout from "@/app/headerFooterLayout";
-
export const metadata = {
title: "Shared",
};
const SharedPage = async () => {
- return (
-
-
-
-
- );
+ return
;
};
export default SharedPage;
diff --git a/components/folderPage/LinkList/LinkList.tsx b/components/folderPage/LinkList/LinkList.tsx
index c2f906838..f60a1dcc3 100644
--- a/components/folderPage/LinkList/LinkList.tsx
+++ b/components/folderPage/LinkList/LinkList.tsx
@@ -17,7 +17,6 @@ const LinkList = ({
setSharedUrl,
linkData,
}: LinkListProps) => {
-
const { data, isLoading, error } = useQuery({
queryKey: ["links"],
queryFn: () => getAllLinks(),
@@ -26,6 +25,7 @@ const LinkList = ({
if (isLoading) return
Loading...
;
if (error) return
Error: {error.message}
;
console.log(data);
+ console.log("전체 데이터입니다");
return (
{linkData?.data.length === 0 ? (
@@ -42,6 +42,7 @@ const LinkList = ({
setSharedUrl={setSharedUrl}
date={item.created_at.slice(0, 10)}
key={item.id}
+ linkId={item.id}
/>
);
})}
diff --git a/components/folderPage/LinkListByFolderId/LinkListByFolderId.tsx b/components/folderPage/LinkListByFolderId/LinkListByFolderId.tsx
index f90d8fd2b..bcaca8b11 100644
--- a/components/folderPage/LinkListByFolderId/LinkListByFolderId.tsx
+++ b/components/folderPage/LinkListByFolderId/LinkListByFolderId.tsx
@@ -3,8 +3,8 @@ import { Dispatch, SetStateAction, useEffect, useState } from "react";
import { LinkDataType } from "@/types/LinkDataTypes";
import FolderPageLinkItem from "../FolderPageLinkItem/FolderPageLinkItem";
import { useQuery } from "@tanstack/react-query";
-import { getAllLinks } from "@/api/folder";
import { getLinksByFolderId } from "@/api/links";
+
interface LinkListProps {
handleAddLinkInFolderModalClick: (
e: React.MouseEvent
@@ -24,21 +24,25 @@ const LinkListByFolderId = ({
queryKey: ["links"],
queryFn: () => getLinksByFolderId(params.folderId),
});
+ const [linkDatas, setLinkData] = useState();
- const [paramsId, setParamsId] = useState();
+ useEffect(() => {
+ if (data) {
+ setLinkData(data);
+ }
+ }, [data]);
if (isLoading) return Loading...
;
if (error) return Error: {error.message}
;
- console.log(data);
return (
- <>
- {data.length === 0 ? (
-
저장된 링크가 없습니다
- ) : (
-
- {data.map((item) => (
+ {linkDatas && linkDatas.length === 0 ? (
+
저장된 링크가 없습니다
+ ) : (
+
+ {linkDatas &&
+ linkDatas.map((item) => (
))}
-
- )}
- >
+
+ )}
);
};
diff --git a/components/sharedPage/Profile/Profile.module.css b/components/sharedPage/Profile/Profile.module.css
index 668d7121a..bed5de122 100644
--- a/components/sharedPage/Profile/Profile.module.css
+++ b/components/sharedPage/Profile/Profile.module.css
@@ -24,6 +24,7 @@
.profile-name {
font-family: var(--Pretendard-Regular);
line-height: 1.6rem;
+ font-size: 2rem;
}
.folder-name {
diff --git a/components/sharedPage/Profile/Profile.tsx b/components/sharedPage/Profile/Profile.tsx
index d36802b0d..f67f80007 100644
--- a/components/sharedPage/Profile/Profile.tsx
+++ b/components/sharedPage/Profile/Profile.tsx
@@ -1,23 +1,45 @@
+"use client";
+
import styles from "./Profile.module.css";
-import { getSharedPageFolderData } from "@/api/sharedPageFolderData";
+import { useQuery } from "@tanstack/react-query";
+import { getUserInfo } from "@/api/user";
+import { getFolderById } from "@/api/folders";
+const Profile = ({ params }: { folderId: number }) => {
+ const { data } = useQuery({
+ queryKey: ["users"],
+ queryFn: () => getUserInfo(),
+ });
-const Profile = async () => {
- const folderData = await getSharedPageFolderData();
+ const { data: folderData } = useQuery({
+ queryKey: ["folder"],
+ queryFn: () => getFolderById(params.folderId),
+ });
+ console.log(folderData);
+
return (
-
-
-
- {folderData?.folder.owner.name}
-
-
-
{folderData?.folder.name}
+ {data?.map((i) => {
+ return (
+
+
+
{i.name}
+
+ );
+ })}
+
+ {folderData?.map((i) => {
+ return (
+
+ {i.name}
+
+ );
+ })}
);
diff --git a/components/sharedPage/SharPageFolderItem/SharePageFolderItem.tsx b/components/sharedPage/SharPageFolderItem/SharePageFolderItem.tsx
index 561fffd01..79e4c925c 100644
--- a/components/sharedPage/SharPageFolderItem/SharePageFolderItem.tsx
+++ b/components/sharedPage/SharPageFolderItem/SharePageFolderItem.tsx
@@ -13,16 +13,16 @@ function SharePageFolderItem({
createdAt,
url,
title,
- imageSource,
+ image_source,
date,
}: FolderDataType) {
return (
- {imageSource ? (
+ {image_source ? (
diff --git a/components/sharedPage/SharePageFolderList/SharePageLinkList.tsx b/components/sharedPage/SharePageFolderList/SharePageLinkList.tsx
index 6417c2520..1ecd0544f 100644
--- a/components/sharedPage/SharePageFolderList/SharePageLinkList.tsx
+++ b/components/sharedPage/SharePageFolderList/SharePageLinkList.tsx
@@ -3,24 +3,29 @@
import styles from "./SharePageLinkList.module.css";
import { useQuery } from "@tanstack/react-query";
import { getLinksByFolderId } from "@/api/links";
-const SharePageFolderList = ({ params }) => {
+import { getAllFolders } from "@/api/folders";
+import SharePageFolderItem from "../SharPageFolderItem/SharePageFolderItem";
+const SharePageFolderList = ({ params }: { folderId: string }) => {
console.log(params);
- const { data } = useQuery({
- queryKey: ["shared"],
+ const { data, isLoading, error } = useQuery({
+ queryKey: ["links"],
queryFn: () => getLinksByFolderId(params.folderId),
});
+ if (isLoading) return
Loading...
;
+ if (error) return
Error: {error.message}
;
+
console.log(data);
return (
- {/* {folderData?.folder.links.map((data) => (
+ {data.map((data) => (
- ))} */}
+ ))}
);
};
diff --git a/util/Provider.tsx b/util/Provider.tsx
index f02092d82..338889226 100644
--- a/util/Provider.tsx
+++ b/util/Provider.tsx
@@ -7,7 +7,6 @@ import { useState } from "react";
export default function Provider({ children }: { children: ReactNode }) {
const [queryClient] = useState(() => new QueryClient());
-
return (
From e631a784ad7518ac01817a67f13e9871901d125d Mon Sep 17 00:00:00 2001
From: hoj0806 <90647684+hoj0806@users.noreply.github.com>
Date: Tue, 14 May 2024 00:48:32 +0900
Subject: [PATCH 11/14] =?UTF-8?q?refactor=20:=20=ED=8F=B4=EB=8D=94=20?=
=?UTF-8?q?=EA=B3=B5=EC=9C=A0=20=EA=B8=B0=EB=8A=A5=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/(FolderPage)/folder/[folderId]/page.tsx | 1 -
.../FolderPageMain/FolderPageMain.tsx | 1 +
.../ShareFolderModal/ShareFolderModal.js | 62 +++++++++----------
3 files changed, 31 insertions(+), 33 deletions(-)
diff --git a/app/(FolderPage)/folder/[folderId]/page.tsx b/app/(FolderPage)/folder/[folderId]/page.tsx
index b05c2b240..9d070b8b5 100644
--- a/app/(FolderPage)/folder/[folderId]/page.tsx
+++ b/app/(FolderPage)/folder/[folderId]/page.tsx
@@ -23,7 +23,6 @@ const FolderPage = ({ params }: { folderId: string }) => {
const [sharedUrl, setSharedUrl] = useState("");
- console.log(window.location.href.replaceAll("folder", "shared"));
return (
<>
Folder | Linkbrary
diff --git a/components/folderPage/FolderPageMain/FolderPageMain.tsx b/components/folderPage/FolderPageMain/FolderPageMain.tsx
index 5b82e16f0..439a615f0 100644
--- a/components/folderPage/FolderPageMain/FolderPageMain.tsx
+++ b/components/folderPage/FolderPageMain/FolderPageMain.tsx
@@ -138,6 +138,7 @@ const FolderPageMain = ({
handleShareFolderModalClick={handleShareFolderModalClick}
FolderModalValue={FolderModalValue}
ShareUrlFolderId={ShareUrlFolderId}
+ folderId={folderId}
/>
)}
{isShowRenameFolderModal && (
diff --git a/components/folderPage/modal/ShareFolderModal/ShareFolderModal.js b/components/folderPage/modal/ShareFolderModal/ShareFolderModal.js
index daf40c753..8c877d480 100644
--- a/components/folderPage/modal/ShareFolderModal/ShareFolderModal.js
+++ b/components/folderPage/modal/ShareFolderModal/ShareFolderModal.js
@@ -6,34 +6,35 @@ const ShareFolderModal = ({
handleShareFolderModalClick,
FolderModalValue,
ShareUrlFolderId,
+ folderId,
}) => {
- const { Kakao } = window;
+ // const { Kakao } = window;
- useEffect(() => {
- Kakao.cleanup();
- Kakao.init("9adbb4d8d436041f3eeadb2a25b525ec");
- });
- const shareKakao = () => {
- Kakao.Share.sendDefault({
- objectType: "feed",
- content: {
- title: "Linkbrary",
- description: "링크를 공유해보세요",
- imageUrl: `${process.env.PUBLIC_URL}/assets/images/share_url_copy_url_icon.svg`,
- link: {
- mobileWebUrl: window.location.host + "/shared/" + ShareUrlFolderId,
- },
- },
- buttons: [
- {
- title: "나도 테스트 하러가기",
- link: {
- mobileWebUrl: window.location.host + "/shared/" + ShareUrlFolderId,
- },
- },
- ],
- });
- };
+ // useEffect(() => {
+ // Kakao.cleanup();
+ // Kakao.init("9adbb4d8d436041f3eeadb2a25b525ec");
+ // });
+ // const shareKakao = () => {
+ // Kakao.Share.sendDefault({
+ // objectType: "feed",
+ // content: {
+ // title: "Linkbrary",
+ // description: "링크를 공유해보세요",
+ // imageUrl: `${process.env.PUBLIC_URL}/assets/images/share_url_copy_url_icon.svg`,
+ // link: {
+ // mobileWebUrl: window.location.host + "/shared/" + ShareUrlFolderId,
+ // },
+ // },
+ // buttons: [
+ // {
+ // title: "나도 테스트 하러가기",
+ // link: {
+ // mobileWebUrl: window.location.host + "/shared/" + ShareUrlFolderId,
+ // },
+ // },
+ // ],
+ // });
+ // };
return (
@@ -48,7 +49,6 @@ const ShareFolderModal = ({
카카오톡
@@ -61,7 +61,7 @@ const ShareFolderModal = ({
"https://twitter.com/intent/tweet?text=" +
window.location.host +
"/shared/" +
- ShareUrlFolderId
+ folderId
);
}}
/>
@@ -74,11 +74,9 @@ const ShareFolderModal = ({
src='assets/images/share_url_copy_url_icon.svg'
onClick={() => {
window.navigator.clipboard
- .writeText(
- window.location.host + "/shared/" + ShareUrlFolderId
- )
+ .writeText(window.location.host + "/shared/" + folderId)
.then(() => {
- alert("링크 복사완료");
+ alert("공유 링크가 복사되었습니다");
});
}}
/>
From 08df53c9067acf42628e64b0cd5fa48b9257e2b0 Mon Sep 17 00:00:00 2001
From: hoj0806 <90647684+hoj0806@users.noreply.github.com>
Date: Tue, 14 May 2024 13:55:18 +0900
Subject: [PATCH 12/14] =?UTF-8?q?=EB=84=A4=EB=B9=84=EA=B2=8C=EC=9D=B4?=
=?UTF-8?q?=EC=85=98=20=ED=94=84=EB=A1=9C=ED=95=84=EC=B0=BD=20=EA=B8=B0?=
=?UTF-8?q?=EB=8A=A5=20=EC=99=84=EC=84=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/common/Navigation/Navigation.tsx | 44 ++++++++++++-------
.../FolderPageMain/FolderPageMain.tsx | 1 -
components/folderPage/LinkList/LinkList.tsx | 3 +-
3 files changed, 30 insertions(+), 18 deletions(-)
diff --git a/components/common/Navigation/Navigation.tsx b/components/common/Navigation/Navigation.tsx
index 595007992..092fbd8fd 100644
--- a/components/common/Navigation/Navigation.tsx
+++ b/components/common/Navigation/Navigation.tsx
@@ -1,9 +1,19 @@
import styles from "./Navigation.module.css";
-import { getUserData } from "@/api/userData";
+
import NavLoginButton from "../NavLoginButton/NavLoginButton";
import Link from "next/link";
import Image from "next/image";
+import { useQuery } from "@tanstack/react-query";
+import { getUserInfo } from "@/api/user";
const Navigation = () => {
+ const { data } = useQuery({
+ queryKey: ["users"],
+ queryFn: () => getUserInfo(),
+ });
+
+
+ const accessToken = localStorage.getItem("accessToken");
+
return (
@@ -17,22 +27,26 @@ const Navigation = () => {
/>
-
-
-
-
- {/* {!userData.email ? (
-
- ) : (
+ {accessToken !== undefined ? (
<>
-
-
{userData.email}
+ {data?.map((item) => {
+ return (
+ <>
+
+
{item?.email}
+ >
+ );
+ })}
>
- )} */}
+ ) : (
+
+
+
+ )}
diff --git a/components/folderPage/FolderPageMain/FolderPageMain.tsx b/components/folderPage/FolderPageMain/FolderPageMain.tsx
index 439a615f0..cd7831940 100644
--- a/components/folderPage/FolderPageMain/FolderPageMain.tsx
+++ b/components/folderPage/FolderPageMain/FolderPageMain.tsx
@@ -45,7 +45,6 @@ const FolderPageMain = ({
params !== undefined ? setFolderId(params.folderId) : setFolderId("전체");
}, []);
- console.log(folderId);
const [linkData, setLinkData] = useState
(null);
const [folderData, setFolderData] = useState(null);
diff --git a/components/folderPage/LinkList/LinkList.tsx b/components/folderPage/LinkList/LinkList.tsx
index f60a1dcc3..4ddda4373 100644
--- a/components/folderPage/LinkList/LinkList.tsx
+++ b/components/folderPage/LinkList/LinkList.tsx
@@ -24,8 +24,7 @@ const LinkList = ({
if (isLoading) return Loading...
;
if (error) return Error: {error.message}
;
- console.log(data);
- console.log("전체 데이터입니다");
+
return (
{linkData?.data.length === 0 ? (
From dc54ac2df0d0b80840c0d9d860cad5418ac1757b Mon Sep 17 00:00:00 2001
From: hoj0806 <90647684+hoj0806@users.noreply.github.com>
Date: Tue, 14 May 2024 15:10:35 +0900
Subject: [PATCH 13/14] =?UTF-8?q?fix=20=EC=98=A4=EB=A5=98=20=EC=88=98?=
=?UTF-8?q?=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/common/Navigation/Navigation.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/components/common/Navigation/Navigation.tsx b/components/common/Navigation/Navigation.tsx
index 092fbd8fd..7579aa869 100644
--- a/components/common/Navigation/Navigation.tsx
+++ b/components/common/Navigation/Navigation.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import styles from "./Navigation.module.css";
import NavLoginButton from "../NavLoginButton/NavLoginButton";
@@ -11,9 +13,8 @@ const Navigation = () => {
queryFn: () => getUserInfo(),
});
-
const accessToken = localStorage.getItem("accessToken");
-
+
return (
From 5e88df8dd8235d84355a20b0cdcbba184b66600e Mon Sep 17 00:00:00 2001
From: hoj0806 <90647684+hoj0806@users.noreply.github.com>
Date: Tue, 14 May 2024 15:41:16 +0900
Subject: [PATCH 14/14] =?UTF-8?q?Fix=20:=EB=84=A4=EB=B9=84=EA=B2=8C?=
=?UTF-8?q?=EC=9D=B4=EC=85=98=20=EB=8F=99=EC=9E=91=EC=98=A4=EB=A5=98=20?=
=?UTF-8?q?=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/common/Navigation/Navigation.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/common/Navigation/Navigation.tsx b/components/common/Navigation/Navigation.tsx
index 7579aa869..7972d5d31 100644
--- a/components/common/Navigation/Navigation.tsx
+++ b/components/common/Navigation/Navigation.tsx
@@ -28,7 +28,7 @@ const Navigation = () => {
/>
- {accessToken !== undefined ? (
+ {accessToken !== null ? (
<>
{data?.map((item) => {
return (