File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
apps/web/src/pages/MemeDetailPage/components Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,7 @@ const MemeShareSheet = ({
2626 useEffect ( ( ) => {
2727 // Kakao SDK 초기화
2828 if ( window . Kakao && ! window . Kakao . isInitialized ( ) ) {
29- // 웹뷰와 웹 환경에 따라 다른 키 사용
30- const kakaoKey = isWebview
31- ? '0538a100af545a410ceaa1adc3a0ca09'
32- : '05ba74b5a769929cd086247c874b60e4' ;
29+ const kakaoKey = '05ba74b5a769929cd086247c874b60e4' ;
3330 window . Kakao . init ( kakaoKey ) ;
3431 }
3532 } , [ isWebview ] ) ;
@@ -40,15 +37,11 @@ const MemeShareSheet = ({
4037 title,
4138 image : imageUrl ,
4239 } ) ;
43- // const kakaoShareUrl = `kakaolink://send?text=${encodeURIComponent(title)}&image=${encodeURIComponent(imageUrl)}&url=${encodeURIComponent(window.location.href)}`;
44- // window.location.href = kakaoShareUrl;
4540 return ;
4641 }
4742
4843 if ( ! window . Kakao ?. isInitialized ( ) ) {
49- const kakaoKey = isWebview
50- ? '0538a100af545a410ceaa1adc3a0ca09'
51- : '05ba74b5a769929cd086247c874b60e4' ;
44+ const kakaoKey = '05ba74b5a769929cd086247c874b60e4' ;
5245 window . Kakao ?. init ( kakaoKey ) ;
5346 }
5447
You can’t perform that action at this time.
0 commit comments