Skip to content

Commit

Permalink
Merge pull request #133 from FelipeZNascimento/bug/drawers-not-opening
Browse files Browse the repository at this point in the history
bug(): Fix drawers not opening
  • Loading branch information
FelipeZNascimento authored Aug 11, 2024
2 parents ec4758d + 9f77573 commit 2f01989
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/components/top_bar/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,16 +153,12 @@ const TopBar = () => {
{isLoading && <Loading size="small" image={logo} style="headbutt" />}
{!isLoading && renderLoginButton()}
</div>
{isMobile && (
<LeftDrawer
isOpen={mobileMenuOpen}
options={menuOptions}
toggle={setMobileMenuOpen}
/>
)}
{isMobile && (
<RightDrawer isOpen={loginMenuOpen} toggle={setLoginMenuOpen} />
)}
<LeftDrawer
isOpen={mobileMenuOpen}
options={menuOptions}
toggle={setMobileMenuOpen}
/>
<RightDrawer isOpen={loginMenuOpen} toggle={setLoginMenuOpen} />
</div>
);
};
Expand Down

0 comments on commit 2f01989

Please sign in to comment.