fix clear button

pull/448/head
slowbackspace 5 years ago
parent f0c8c0e100
commit 9fbb51fd39

@ -205,6 +205,9 @@ export const onClear = (): AsyncAction => async (
initialState.selectedFeeLevel initialState.selectedFeeLevel
); );
// initial local currency is set according to wallet settings
const { localCurrency } = getState().wallet;
dispatch({ dispatch({
type: SEND.CLEAR, type: SEND.CLEAR,
networkType: 'ethereum', networkType: 'ethereum',
@ -213,6 +216,7 @@ export const onClear = (): AsyncAction => async (
networkName: network.shortcut, networkName: network.shortcut,
networkSymbol: network.symbol, networkSymbol: network.symbol,
currency: network.symbol, currency: network.symbol,
localCurrency,
feeLevels, feeLevels,
selectedFeeLevel, selectedFeeLevel,
recommendedGasPrice: gasPrice.toString(), recommendedGasPrice: gasPrice.toString(),

Loading…
Cancel
Save