Skip to content

Commit

Permalink
#100 fix: 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hwanheejung committed Aug 26, 2024
1 parent 2593185 commit f4fda3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/(board)/board/[boardId]/_components/ShareBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ShareBtn = () => {
}, [])

const copyLink = () => {
navigator.clipboard.writeText(currentURL)
return navigator.clipboard.writeText(currentURL)
}

const { run, nextStep } = useTutorial()
Expand Down
2 changes: 1 addition & 1 deletion src/app/(board)/board/[boardId]/_hooks/useSnsShare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const useSnsShare = () => {
return
}

if (!Kakao || !Kakao.isInitialized()) {
if (!Kakao.isInitialized()) {
Kakao.init(process.env.NEXT_PUBLIC_KAKAO_API_KEY)
}

Expand Down

0 comments on commit f4fda3c

Please sign in to comment.