Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit f95082c

Browse files
PROD-1551_header
1 parent f871f98 commit f95082c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/App.jsx

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ const App = () => {
4343
);
4444
const location = useLocation();
4545

46+
// if this is the self-service app, don't display anything
47+
if (!!['/self-service', '/work'].find(path => location.pathname.startsWith(path))) {
48+
return <></>
49+
}
50+
4651
// set/remove class for the whole page, to know if sidebar is present or no
4752
useEffect(() => {
4853
if (isSideBarDisabled) {

0 commit comments

Comments
 (0)