Skip to content

Commit 7b8f0e2

Browse files
committed
frontend: show global banners in the wait screen too
It's important to see the testnet warning early, otherwise it's very hard to see if one is in testnet mode. It's also good to see the mobile data warning *before* one connects a device and all the data starts being used.
1 parent 119ebd2 commit 7b8f0e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

frontends/web/src/routes/device/waiting.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import { useKeystores } from '@/hooks/backend';
2525
import { useDarkmode } from '@/hooks/darkmode';
2626
import { useDefault } from '@/hooks/default';
2727
import { Bluetooth } from '@/components/bluetooth/bluetooth';
28+
import { ContentWrapper } from '@/components/contentwrapper/contentwrapper';
29+
import { GlobalBanners } from '@/components/banners';
2830
import { Entry } from '@/components/guide/entry';
2931
import { Guide } from '@/components/guide/guide';
3032
import { Spinner } from '@/components/spinner/Spinner';
@@ -60,6 +62,9 @@ export const Waiting = () => {
6062
<GuideWrapper>
6163
<GuidedContent>
6264
<Main>
65+
<ContentWrapper>
66+
<GlobalBanners />
67+
</ContentWrapper>
6368
<Header title={<h2>{t('welcome.title')}</h2>}>
6469
<OutlinedSettingsButton />
6570
</Header>

0 commit comments

Comments
 (0)