Skip to content

Commit

Permalink
feat: remove side nav for 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
ngunner15 committed Oct 22, 2024
1 parent 03002a1 commit a66d2eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/BCHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const BCHeader = () => {
>
<SkipToContent />
{
!location.pathname.endsWith('/403')
!(location.pathname.endsWith('/403') || location.pathname.endsWith('/404'))
? (
<HeaderMenuButton
aria-label={componentTexts.openMenu}
Expand Down Expand Up @@ -173,7 +173,7 @@ const BCHeader = () => {
: null
}
{
!location.pathname.endsWith('/403')
!(location.pathname.endsWith('/403') || location.pathname.endsWith('/404'))
? (
<SideNav
isChildOfHeader
Expand Down

0 comments on commit a66d2eb

Please sign in to comment.