Skip to content

Commit

Permalink
#127 fix: modified iOS dm url
Browse files Browse the repository at this point in the history
  • Loading branch information
hwanheejung committed Sep 27, 2024
1 parent a3043c8 commit 278f198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/board/[boardId]/_hooks/useSnsShare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ const useSnsShare = () => {

let url
if (isIOS) {
url = 'https://www.instagram.com/direct'
url = 'https://www.instagram.com/direct/inbox'
} else if (isAndroid) {
url =
'intent://instagram.com/direct/inbox/#Intent;scheme=https;package=com.instagram.android;end'
} else {
url = 'https://www.instagram.com/'
url = 'https://www.instagram.com/direct/inbox/'
}

window.open(url)
Expand Down

0 comments on commit 278f198

Please sign in to comment.