1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-13 11:58:58 +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) {