Skip to content

Commit

Permalink
fix(ui): Fixed mobile side bar not rendering
Browse files Browse the repository at this point in the history
Resolves #1760
  • Loading branch information
elliotcourant committed May 26, 2024
1 parent cf9e046 commit 4b8fc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/src/components/Layout/MobileSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import useStore from '@monetr/interface/hooks/store';

export default function MobileSidebar(): JSX.Element {
const match = useMatch('/bank/:bankId/*');
const isBankRoute = Boolean(+match?.params?.bankId || null);
const isBankRoute = Boolean(match?.params?.bankId || null);
const { setMobileSidebarOpen, mobileSidebarOpen } = useStore();
const { pathname } = useLocation();

Expand Down

0 comments on commit 4b8fc4b

Please sign in to comment.