1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-07 14:50:52 +00:00

move condition to a new line

This commit is contained in:
slowbackspace 2019-02-21 00:50:22 +01:00
parent 7b1d555138
commit 8c07d45750

View File

@ -124,8 +124,8 @@ const Header = ({ sidebarEnabled, sidebarOpened, toggleSidebar }: Props) => (
<LayoutWrapper>
<Left>
{ sidebarEnabled && (
<MenuToggler onClick={toggleSidebar}>{sidebarOpened
? (
<MenuToggler onClick={toggleSidebar}>
{sidebarOpened ? (
<>
<Icon
size={24}