Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Puterism committed Dec 2, 2024
2 parents e584853 + a52d259 commit 9397d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/preview/src/pages/ShowPreviewPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ const ShowPreviewPage = () => {
} = previewData;

const shareButtonClickHandler = async () => {
try {
if (navigator.share) {
await navigator.share({
title,
text: getShareText({ id, title, date: new Date(date), placeName, streetAddress, detailAddress }),
url: getPreviewLink(id),
});
} catch (error) {
} else {
await navigator.clipboard.writeText(getPreviewLink(id));

alert('공연 링크가 복사되었어요');
Expand Down

0 comments on commit 9397d8f

Please sign in to comment.