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) + } + > 후원하기 ) : (