1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-23 06:21:06 +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> <LayoutWrapper>
<Left> <Left>
{ sidebarEnabled && ( { sidebarEnabled && (
<MenuToggler onClick={toggleSidebar}>{sidebarOpened <MenuToggler onClick={toggleSidebar}>
? ( {sidebarOpened ? (
<> <>
<Icon <Icon
size={24} size={24}