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:
parent
f0c8c0e100
commit
9fbb51fd39
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user