From d02765c30c2a3f7aa03895989e7cd0e1ae8239c4 Mon Sep 17 00:00:00 2001 From: ej070961 Date: Sat, 10 Aug 2024 17:35:01 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=9B=84=EC=9B=90=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=9D=B8=20=ED=9B=84=20=EC=9D=B4=EC=9A=A9=EA=B0=80=EB=8A=A5?= =?UTF-8?q?=ED=95=98=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SponsorDetail/Header.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/SponsorDetail/Header.tsx b/src/components/SponsorDetail/Header.tsx index f6abc16..e91cacd 100644 --- a/src/components/SponsorDetail/Header.tsx +++ b/src/components/SponsorDetail/Header.tsx @@ -55,7 +55,14 @@ function Header({ memberId, nickname }: HeaderProps) { {memberId !== currentUserId! ? ( - setIsOpenDonate(!isOpenDonate)}> + + accessToken === "" + ? alert("로그인 후 이용가능한 기능입니다.") + : setIsOpenDonate(!isOpenDonate) + } + > 후원하기 ) : (