Remove setup menu items after QR code linking

This commit is contained in:
Fedor Indutny 2022-02-22 17:35:34 -08:00 committed by GitHub
parent 4ea709f2e4
commit 3ad6ff7f05
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;