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

PROD-1551 Hide Header for Customer Work App -> dev #113

Merged
merged 5 commits into from
May 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PROD-1850 #comment hide navigation for
/account page #time 5m
  • Loading branch information
brooketopcoder committed May 5, 2022
commit a4d20848fed6949c26e3da723779595ab080ba1c
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const App = () => {
const location = useLocation();

// if this is the self-service app, don't display anything
if (!!['/self-service', '/work'].find(path => location.pathname.startsWith(path))) {
if (!!['/self-service', '/work', '/account'].find(path => location.pathname.startsWith(path))) {
return <></>
}

Expand Down