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:
parent
bbbee91ebc
commit
1822fb29ae
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user