);
const errorsPayto = undefinedIfEmpty({
rawPaytoInput: !rawPaytoInput
? i18n.str`Missing payto address`
: !parsePaytoUri(rawPaytoInput)
? i18n.str`Payto does not follow the pattern`
: undefined,
});
return (
{i18n.str`Transfer money to account identified by payto:// URI:`}
);
}
/**
* Stores in the state a object representing a wire transfer,
* in order to avoid losing the handle of the data entered by
* the user in