Remove setup menu items after QR code linking

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2022-02-22 18:38:52 -08:00 committed by GitHub
parent dd12c6f599
commit 733fc56742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ export function SmartInstallScreen(): ReactElement {
updateProvisioningUrl,
confirmNumber
);
window.removeSetupMenuItems();
} catch (err: unknown) {
if (hasCleanedUp) {
return;