We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8576b61 commit b906664Copy full SHA for b906664
apps/web/src/components/BridgeModal/BridgeForm.schema.ts
@@ -9,10 +9,10 @@ const bridgeFormSchema = (userL1Balance: number) =>
9
amount: yup
10
.number()
11
.required()
12
- .max(userL1Balance, 'Your balance is insufficient to bridge ETH.')
+ .max(userL1Balance, 'Must bridge less than L1 balance.')
13
.test(
14
'is-greater-than-0',
15
- 'Must send more than 0 ETH',
+ 'Must bridge more than 0 ETH',
16
(value) => !!value && value > 0
17
),
18
})
0 commit comments