diff --git a/frontend/src/container/TopNav/index.tsx b/frontend/src/container/TopNav/index.tsx index 5277908240..8219395568 100644 --- a/frontend/src/container/TopNav/index.tsx +++ b/frontend/src/container/TopNav/index.tsx @@ -31,7 +31,14 @@ function TopNav(): JSX.Element | null { [location.pathname], ); - if (isSignUpPage || isDisabled || isRouteToSkip) { + const isNewAlertsLandingPage = useMemo( + () => + matchPath(location.pathname, { path: ROUTES.ALERTS_NEW, exact: true }) && + !location.search, + [location.pathname, location.search], + ); + + if (isSignUpPage || isDisabled || isRouteToSkip || isNewAlertsLandingPage) { return null; }