Remove some unused state keys (#8776)

* Remove unused networkEndpointType state key

* Remove unused coinOptions state key
feature/default_network_editable
Whymarrh Whitby 4 years ago committed by GitHub
parent cfadc7592e
commit 87c2c81da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/scripts/background.js
  2. 2
      ui/app/ducks/metamask/metamask.js

@ -105,10 +105,8 @@ initialize().catch(log.error)
* @property {Object} contractExchangeRates - Info about current token prices.
* @property {Array} tokens - Tokens held by the current user, including their balances.
* @property {Object} send - TODO: Document
* @property {Object} coinOptions - TODO: Document
* @property {boolean} useBlockie - Indicates preferred user identicon format. True for blockie, false for Jazzicon.
* @property {Object} featureFlags - An object for optional feature flags.
* @property {string} networkEndpointType - TODO: Document
* @property {boolean} welcomeScreen - True if welcome screen should be shown.
* @property {string} currentLocale - A locale string matching the user's preferred display language.
* @property {Object} provider - The current selected network provider.

@ -31,10 +31,8 @@ export default function reduceMetamask (state = {}, action) {
ensResolution: null,
ensResolutionError: '',
},
coinOptions: {},
useBlockie: false,
featureFlags: {},
networkEndpointType: undefined,
welcomeScreenSeen: false,
currentLocale: '',
preferences: {

Loading…
Cancel
Save