Skip to content

Commit

Permalink
feat: Remove MenuCommand enum (#900)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashchan authored and Keith-CY committed Aug 29, 2019
1 parent 3f1bc59 commit e40c5cf
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/neuron-wallet/src/controllers/app/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -186,4 +178,4 @@ export const contextMenuTemplate: {
},
}

export default { MenuCommand, URL }
export default { URL }

0 comments on commit e40c5cf

Please sign in to comment.