From 7272aa95181e6dab6c44858ef61b1c625f96771c Mon Sep 17 00:00:00 2001 From: bflatastic Date: Tue, 25 Jun 2024 13:01:59 +0700 Subject: [PATCH] fix --- packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx b/packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx index ebbb733def..89dda652d3 100644 --- a/packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx +++ b/packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx @@ -63,8 +63,9 @@ export default function TopNav({ const isOnStudioPage = window.location.pathname.includes("/studio"); const isOnBetaKeyRedeemPage = window.location.pathname.includes("/beta-key/redeem"); - const isOnWaitlistSuccessPage = - window.location.pathname.includes("/waitlist-success"); + const isOnWaitlistSuccessPage = window.location.pathname.includes( + "/waitlist-next-steps" + ); const { open } = useModal(); const openModal = () => open({ component: InferenceJobsModal });