mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Remove unused route constants (#6918)
These constants were not referenced outside of this file
This commit is contained in:
parent
aae57c259d
commit
58965ed164
@ -3,15 +3,12 @@ const UNLOCK_ROUTE = '/unlock'
|
||||
const LOCK_ROUTE = '/lock'
|
||||
const SETTINGS_ROUTE = '/settings'
|
||||
const GENERAL_ROUTE = '/settings/general'
|
||||
const INFO_ROUTE = '/settings/info'
|
||||
const ADVANCED_ROUTE = '/settings/advanced'
|
||||
const SECURITY_ROUTE = '/settings/security'
|
||||
const COMPANY_ROUTE = '/settings/company'
|
||||
const ABOUT_US_ROUTE = '/settings/about-us'
|
||||
const NETWORKS_ROUTE = '/settings/networks'
|
||||
const REVEAL_SEED_ROUTE = '/seed'
|
||||
const MOBILE_SYNC_ROUTE = '/mobile-sync'
|
||||
const CONFIRM_SEED_ROUTE = '/confirm-seed'
|
||||
const RESTORE_VAULT_ROUTE = '/restore-vault'
|
||||
const ADD_TOKEN_ROUTE = '/add-token'
|
||||
const CONFIRM_ADD_TOKEN_ROUTE = '/confirm-add-token'
|
||||
@ -20,15 +17,12 @@ const NEW_ACCOUNT_ROUTE = '/new-account'
|
||||
const IMPORT_ACCOUNT_ROUTE = '/new-account/import'
|
||||
const CONNECT_HARDWARE_ROUTE = '/new-account/connect'
|
||||
const SEND_ROUTE = '/send'
|
||||
const WELCOME_ROUTE = '/welcome'
|
||||
|
||||
const INITIALIZE_ROUTE = '/initialize'
|
||||
const INITIALIZE_WELCOME_ROUTE = '/initialize/welcome'
|
||||
const INITIALIZE_UNLOCK_ROUTE = '/initialize/unlock'
|
||||
const INITIALIZE_CREATE_PASSWORD_ROUTE = '/initialize/create-password'
|
||||
const INITIALIZE_IMPORT_ACCOUNT_ROUTE = '/initialize/create-password/import-account'
|
||||
const INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE = '/initialize/create-password/import-with-seed-phrase'
|
||||
const INITIALIZE_UNIQUE_IMAGE_ROUTE = '/initialize/create-password/unique-image'
|
||||
const INITIALIZE_SELECT_ACTION_ROUTE = '/initialize/select-action'
|
||||
const INITIALIZE_SEED_PHRASE_ROUTE = '/initialize/seed-phrase'
|
||||
const INITIALIZE_END_OF_FLOW_ROUTE = '/initialize/end-of-flow'
|
||||
@ -49,10 +43,8 @@ module.exports = {
|
||||
UNLOCK_ROUTE,
|
||||
LOCK_ROUTE,
|
||||
SETTINGS_ROUTE,
|
||||
INFO_ROUTE,
|
||||
REVEAL_SEED_ROUTE,
|
||||
MOBILE_SYNC_ROUTE,
|
||||
CONFIRM_SEED_ROUTE,
|
||||
RESTORE_VAULT_ROUTE,
|
||||
ADD_TOKEN_ROUTE,
|
||||
CONFIRM_ADD_TOKEN_ROUTE,
|
||||
@ -61,14 +53,11 @@ module.exports = {
|
||||
IMPORT_ACCOUNT_ROUTE,
|
||||
CONNECT_HARDWARE_ROUTE,
|
||||
SEND_ROUTE,
|
||||
WELCOME_ROUTE,
|
||||
INITIALIZE_ROUTE,
|
||||
INITIALIZE_WELCOME_ROUTE,
|
||||
INITIALIZE_UNLOCK_ROUTE,
|
||||
INITIALIZE_CREATE_PASSWORD_ROUTE,
|
||||
INITIALIZE_IMPORT_ACCOUNT_ROUTE,
|
||||
INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE,
|
||||
INITIALIZE_UNIQUE_IMAGE_ROUTE,
|
||||
INITIALIZE_SELECT_ACTION_ROUTE,
|
||||
INITIALIZE_SEED_PHRASE_ROUTE,
|
||||
INITIALIZE_CONFIRM_SEED_PHRASE_ROUTE,
|
||||
@ -84,7 +73,6 @@ module.exports = {
|
||||
INITIALIZE_METAMETRICS_OPT_IN_ROUTE,
|
||||
ADVANCED_ROUTE,
|
||||
SECURITY_ROUTE,
|
||||
COMPANY_ROUTE,
|
||||
GENERAL_ROUTE,
|
||||
ABOUT_US_ROUTE,
|
||||
NETWORKS_ROUTE,
|
||||
|
Loading…
Reference in New Issue
Block a user