Skip to content

Commit b906664

Browse files
committed
Fix error messages
1 parent 8576b61 commit b906664

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/src/components/BridgeModal/BridgeForm.schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ const bridgeFormSchema = (userL1Balance: number) =>
99
amount: yup
1010
.number()
1111
.required()
12-
.max(userL1Balance, 'Your balance is insufficient to bridge ETH.')
12+
.max(userL1Balance, 'Must bridge less than L1 balance.')
1313
.test(
1414
'is-greater-than-0',
15-
'Must send more than 0 ETH',
15+
'Must bridge more than 0 ETH',
1616
(value) => !!value && value > 0
1717
),
1818
})

0 commit comments

Comments
 (0)