Skip to content

Commit

Permalink
improve QR code loading behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass committed Sep 6, 2024
1 parent bb1bb37 commit 1765b33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/Company/ProveIdentity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const ProveIdentity: React.FC = () => {
<Trans i18nKey="pages.company.signIn.subtitle" />
</p>
<div className='qr-wrapper'>
<QRCode text={undefined} />
<QRCode text={state[Scopes.CompanyHouse]?.QRcontent} />
</div>
<p className='bold'>{t(status)}</p>
{loading && <Loading />}
Expand Down
1 change: 1 addition & 0 deletions web/src/styles/pages/scanQRcode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
margin-bottom: 10px;
}

// make loading QR code invisible
.ant-qrcode-mask {
background: white;
}
Expand Down

0 comments on commit 1765b33

Please sign in to comment.