From 53906c61a8b83f3fd3e7845f462cba064a01b4cb Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 29 Aug 2019 08:16:21 +0900 Subject: [PATCH] feat: Remove MenuCommand enum --- packages/neuron-wallet/src/controllers/app/options.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/neuron-wallet/src/controllers/app/options.ts b/packages/neuron-wallet/src/controllers/app/options.ts index 5e4a57fe5b..1d337d6b57 100644 --- a/packages/neuron-wallet/src/controllers/app/options.ts +++ b/packages/neuron-wallet/src/controllers/app/options.ts @@ -7,14 +7,6 @@ import i18n from 'utils/i18n' import env from 'env' import AppController from '.' -export enum MenuCommand { - ShowAbout = 'show-about', - ShowPreferences = 'show-preferences', - OpenNervosWebsite = 'open-nervos-website', - OpenSourceCodeRepository = 'open-sourcecode-repository', - SetUILocale = 'set-ui-language', -} - export enum URL { Preference = '/settings/general', CreateWallet = '/wizard/mnemonic/create', @@ -186,4 +178,4 @@ export const contextMenuTemplate: { }, } -export default { MenuCommand, URL } +export default { URL }