Skip to content

Commit

Permalink
fix: #409 잘못된 코드 순서 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
klmhyeonwoo committed Nov 3, 2024
1 parent b4cf4a2 commit 0487e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/helper/preventExternalBrowser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export function PreventExternalBrowser({ children }: PropsWithChildren) {
const isInstagram = agent.includes("Instagram");

if (isKakao) {
return <span> 시스템 브라우저를 이용해주세요 </span>;
window.open(`kakaotalk://web/openExternal?url=${encodeURIComponent(URL)}`);
return <span> 시스템 브라우저를 이용해주세요 </span>;
} else if (isInstagram) {
/**
* NOTE: 현재는 해당 인스타그램 인앱 탈출 코드가 작동하지 않는 것 같음
Expand Down

0 comments on commit 0487e44

Please sign in to comment.