fix: #7526 - patch authored by Windfisch
This commit is contained in:
parent
72b4293215
commit
45691dc991
@ -55,7 +55,7 @@ export function PaytoWireTransferForm({
|
|||||||
|
|
||||||
let parsedAmount = undefined;
|
let parsedAmount = undefined;
|
||||||
|
|
||||||
const errorsWire = {
|
const errorsWire = undefinedIfEmpty({
|
||||||
iban: !submitData?.iban
|
iban: !submitData?.iban
|
||||||
? i18n.str`Missing IBAN`
|
? i18n.str`Missing IBAN`
|
||||||
: !/^[A-Z0-9]*$/.test(submitData.iban)
|
: !/^[A-Z0-9]*$/.test(submitData.iban)
|
||||||
@ -69,7 +69,7 @@ export function PaytoWireTransferForm({
|
|||||||
: Amounts.isZero(parsedAmount)
|
: Amounts.isZero(parsedAmount)
|
||||||
? i18n.str`Should be greater than 0`
|
? i18n.str`Should be greater than 0`
|
||||||
: undefined,
|
: undefined,
|
||||||
};
|
});
|
||||||
|
|
||||||
if (!pageState.isRawPayto)
|
if (!pageState.isRawPayto)
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user