diff --git a/src/apps/popup/pages/navigation-menu/index.tsx b/src/apps/popup/pages/navigation-menu/index.tsx index 3e757138d..4f434b3e9 100644 --- a/src/apps/popup/pages/navigation-menu/index.tsx +++ b/src/apps/popup/pages/navigation-menu/index.tsx @@ -123,9 +123,9 @@ export function NavigationMenuPageContent() { description: t('From Signer secret key file'), iconPath: 'assets/icons/upload.svg', disabled: false, - handleOnClick: async () => { + handleOnClick: () => { closeNavigationMenu(); - await openWindow({ + openWindow({ windowApp: WindowApp.ImportAccount }).catch(e => console.error(e)); } diff --git a/src/background/create-open-window.ts b/src/background/create-open-window.ts index 2093b6f22..c88696bd3 100644 --- a/src/background/create-open-window.ts +++ b/src/background/create-open-window.ts @@ -1,4 +1,3 @@ -import * as process from 'process'; import browser from 'webextension-polyfill'; import { RouterPath } from '@src/apps/signature-request/router';