diff --git a/packages/design-system/modal-screen/with-modal-screen.web.tsx b/packages/design-system/modal-screen/with-modal-screen.web.tsx index bd2927706..062c35e29 100644 --- a/packages/design-system/modal-screen/with-modal-screen.web.tsx +++ b/packages/design-system/modal-screen/with-modal-screen.web.tsx @@ -45,11 +45,6 @@ function withModalScreen
( if (!isLayouted.current) return; if (router.asPath === "/login" || router.asPath === "/") { router.push("/"); - } else if ( - router.pathname === "/creator-token/[username]/buy" || - router.pathname === "/creator-token/[username]/invite-sign-in" - ) { - router.push(`/@${router.query.username}`); } else { router.pop(); }