Browse Source

fix(address): fix propTypes address

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
381663685b
  1. 1
      app/reducers/ticker.js
  2. 2
      app/routes/wallet/components/Wallet.js

1
app/reducers/ticker.js

@ -55,6 +55,7 @@ export const fetchTicker = (id) => async (dispatch) => {
// Receive IPC event for receiveCryptocurrency
export const receiveCryptocurrency = (event, currency) => dispatch => {
console.log('currency: ', currency)
dispatch({ type: SET_CURRENCY, currency: cryptoTickers[currency] })
dispatch({ type: SET_CRYPTO, crypto: cryptoTickers[currency] })
}

2
app/routes/wallet/components/Wallet.js

@ -102,7 +102,7 @@ Wallet.propTypes = {
allChannels: PropTypes.array.isRequired,
openChannel: PropTypes.func.isRequired,
newAddress: PropTypes.func.isRequired,
address: PropTypes.string.isRequired
address: PropTypes.object.isRequired
}

Loading…
Cancel
Save