Browse Source

In case there is no accounts, there is no currencies to configure

master
Gaëtan Renaudeau 7 years ago
parent
commit
56d0cc6efc
  1. 3
      src/components/SettingsPage/sections/Currencies.js

3
src/components/SettingsPage/sections/Currencies.js

@ -114,8 +114,9 @@ class TabCurrencies extends PureComponent<Props, State> {
}
render() {
const { t, currencies, counterValueCurrency } = this.props
const { currency } = this.state
if (!currency) return null // this case means there is no accounts
const { t, currencies, counterValueCurrency } = this.props
const { confirmationsToSpend, confirmationsNb, exchange } =
this.getCurrencySettings() || CURRENCY_DEFAULTS_SETTINGS
return (

Loading…
Cancel
Save