1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-29 02:18:06 +00:00

flowtype fix

This commit is contained in:
Szymon Lesisz 2019-01-11 17:55:36 +01:00
parent 155f794bcb
commit 9d325fb139

View File

@ -225,7 +225,7 @@ const amountValidation = ($state: State): PayloadAction<State> => (dispatch: Dis
account,
pending,
} = getState().selectedAccount;
if (!account) return state;
if (!account || account.networkType !== 'ripple') return state;
const { amount } = state;
if (amount.length < 1) {