Browse Source

Disable layout action bar when logged out (#267)

master
jeffvli 3 years ago
parent
commit
45f3ed4bf6
  1. 4
      src/components/layout/Layout.tsx

4
src/components/layout/Layout.tsx

@ -143,6 +143,8 @@ const Layout = ({ footer, children, disableSidebar, font }: any) => {
margin: '10px 5px 5px 5px', margin: '10px 5px 5px 5px',
}} }}
> >
{!disableSidebar && (
<>
<FlexboxGrid.Item> <FlexboxGrid.Item>
<ButtonToolbar aria-label="history"> <ButtonToolbar aria-label="history">
<StyledButton <StyledButton
@ -216,6 +218,8 @@ const Layout = ({ footer, children, disableSidebar, font }: any) => {
</Whisper> </Whisper>
</ButtonToolbar> </ButtonToolbar>
</FlexboxGrid.Item> </FlexboxGrid.Item>
</>
)}
</FlexboxGrid> </FlexboxGrid>
<Content id="container-content" role="main"> <Content id="container-content" role="main">

Loading…
Cancel
Save