Skip to content

Commit

Permalink
fix: 초대링크복사 클릭 시 '/' 삽입 안되어 있는 현상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ExceptAnyone committed Feb 26, 2024
1 parent 3f3c108 commit 707a4d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/GiftHome/GiftHomeSummary/GiftHomeSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ export const GiftHomeSummary = ({ data }: GiftHomeSummaryProps) => {
</S.GiftHomeSummaryTitle>
<S.GiftHomeSummaryTitle>선물을 함께 준비해요</S.GiftHomeSummaryTitle>
<S.CopyLinkBtnWrapper
onClick={() => handleCopyToClipboard(`${baseURL}result/${data.invitationCode}`)}
onClick={() => handleCopyToClipboard(`${baseURL}/result/${data.invitationCode}`)}
>
<IcLink style={{ width: '1.7rem', height: '1.7rem' }} />
<S.Caption02Text>초대 링크 복사</S.Caption02Text>
</S.CopyLinkBtnWrapper>
<S.Body09Text>선물 토너먼트까지</S.Body09Text>

<CountDownTimer targetDate={new Date(data.tournamentStartDate)} giftee={data.gifteeName} />


</S.GiftHomeSummaryWrapper>
);
};
Expand Down

0 comments on commit 707a4d8

Please sign in to comment.