Skip to content

Commit

Permalink
style: 카카오톡 공유 실행 함수 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhokim98 committed Sep 11, 2024
1 parent 82c9285 commit baad8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/hooks/useShareEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ const useShareEvent = () => {
const onInviteButtonClick = () => {
if (!isMobile) return;

shareUnSupportedOSShareEnvUsingKakao();
kakaoShare();
};

const shareUnSupportedOSShareEnvUsingKakao = () => {
const kakaoShare = () => {
window.Kakao.Share.sendDefault({
objectType: 'feed',
content: {
Expand Down

0 comments on commit baad8f8

Please sign in to comment.