diff --git a/frontend/src/container/Header/index.tsx b/frontend/src/container/Header/index.tsx
index ef6359f075..4b37763aaf 100644
--- a/frontend/src/container/Header/index.tsx
+++ b/frontend/src/container/Header/index.tsx
@@ -2,12 +2,17 @@ import { Col } from 'antd';
import ROUTES from 'constants/routes';
import history from 'lib/history';
import React from 'react';
+import { useLocation } from 'react-router-dom';
import ShowBreadcrumbs from './Breadcrumbs';
import DateTimeSelector from './DateTimeSelection';
import { Container } from './styles';
+const routesToSkip = [ROUTES.SETTINGS];
+
const TopNav = (): JSX.Element | null => {
+ const { pathname } = useLocation();
+
if (history.location.pathname === ROUTES.SIGN_UP) {
return null;
}
@@ -18,9 +23,11 @@ const TopNav = (): JSX.Element | null => {