1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 12:30:32 +09:00

chore: remove footer in standalone mode

This commit is contained in:
uetchy 2020-02-07 15:17:50 +09:00
parent bbbee91ebc
commit 1822fb29ae

View File

@ -28,7 +28,7 @@ export default function App() {
<Redirect to="/" /> <Redirect to="/" />
</Route> </Route>
</Switch> </Switch>
<Footer /> {!isStandalone() && <Footer />}
</> </>
); );
} }
@ -63,7 +63,9 @@ function Home() {
<Header> <Header>
<Form /> <Form />
</Header> </Header>
<Content>{!isStandalone() && <Welcome />}</Content> <Content>
<Welcome />
</Content>
</> </>
); );
} }