mirror of
https://github.com/Instadapp/assembly.git
synced 2024-07-29 22:37:06 +00:00
Update useValidators.ts
This commit is contained in:
parent
067544d391
commit
7d9154ae73
|
@ -7,7 +7,7 @@ export function useValidators() {
|
||||||
|
|
||||||
function validateAmount(amountParsed, balance = null, options = null) {
|
function validateAmount(amountParsed, balance = null, options = null) {
|
||||||
const mergedOptions = Object.assign(
|
const mergedOptions = Object.assign(
|
||||||
{ msg: "Your amount exceeds your balance." },
|
{ msg: "Your amount exceeds your maximum limit." },
|
||||||
options
|
options
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user