1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 04:30:31 +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="/" />
</Route>
</Switch>
<Footer />
{!isStandalone() && <Footer />}
</>
);
}
@ -63,7 +63,9 @@ function Home() {
<Header>
<Form />
</Header>
<Content>{!isStandalone() && <Welcome />}</Content>
<Content>
<Welcome />
</Content>
</>
);
}