Skip to content

Commit bf1a4ee

Browse files
committed
Merge branch 'frontend-watchonly-fix-empty-element' into staging-watchonly
2 parents 3115751 + d84e784 commit bf1a4ee

File tree

1 file changed

+4
-1
lines changed
  • frontends/web/src/routes/device/bitbox02

1 file changed

+4
-1
lines changed

frontends/web/src/routes/device/bitbox02/wizard.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ export class Wizard extends Component<Props, State> {
152152
text={waitDialog.text} />
153153
);
154154
}
155-
155+
// fixes empty main element, happens when after unlocking the device, reason wizard is now always mounted in app.tsx
156+
if (appStatus === '' && status === 'initialized') {
157+
return null;
158+
}
156159
return (
157160
<Main>
158161
{ (status === 'connected') ? (

0 commit comments

Comments
 (0)