Skip to content

Commit e40c5cf

Browse files
ashchanKeith-CY
authored andcommitted
feat: Remove MenuCommand enum (#900)
1 parent 3f1bc59 commit e40c5cf

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

  • packages/neuron-wallet/src/controllers/app

packages/neuron-wallet/src/controllers/app/options.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ import i18n from 'utils/i18n'
77
import env from 'env'
88
import AppController from '.'
99

10-
export enum MenuCommand {
11-
ShowAbout = 'show-about',
12-
ShowPreferences = 'show-preferences',
13-
OpenNervosWebsite = 'open-nervos-website',
14-
OpenSourceCodeRepository = 'open-sourcecode-repository',
15-
SetUILocale = 'set-ui-language',
16-
}
17-
1810
export enum URL {
1911
Preference = '/settings/general',
2012
CreateWallet = '/wizard/mnemonic/create',
@@ -186,4 +178,4 @@ export const contextMenuTemplate: {
186178
},
187179
}
188180

189-
export default { MenuCommand, URL }
181+
export default { URL }

0 commit comments

Comments
 (0)