Skip to content

Commit 45ef47a

Browse files
authored
Merge pull request #1316 from Moadong/feature/navigate-to-clubdetail
[feat] 앱은 부스클릭시 이동되지않게 변경
2 parents 376103f + b152afc commit 45ef47a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -665,15 +665,12 @@ const BoothMapSection = () => {
665665
cursor: booth.link ? 'pointer' : 'default',
666666
}}
667667
onClick={() => {
668+
if (isInAppWebView()) return;
668669
if (booth.link) {
669670
trackEvent(USER_EVENT.FESTIVAL_BOOTH_CLICKED, {
670671
booth: booth.name,
671672
});
672-
if (isInAppWebView()) {
673-
navigate(`/webview/club/${booth.link}`);
674-
} else {
675-
navigate(`/clubDetail/${booth.link}`);
676-
}
673+
navigate(`/clubDetail/${booth.link}`);
677674
}
678675
}}
679676
>

0 commit comments

Comments
 (0)