|
|
@ -57,7 +57,6 @@ export const fetchTicker = () => async (dispatch) => { |
|
|
|
export const receiveCryptocurrency = (event, currency) => (dispatch) => { |
|
|
|
dispatch({ type: SET_CURRENCY, currency: cryptoTickers[currency] }) |
|
|
|
dispatch({ type: SET_CRYPTO, crypto: cryptoTickers[currency] }) |
|
|
|
// dispatch({ type: SET_CRYPTO, crypto: 'ltc' })
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|