1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 10:48:22 +00:00

fix clear button

This commit is contained in:
slowbackspace 2019-03-13 14:34:49 +01:00
parent f0c8c0e100
commit 9fbb51fd39

View File

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