give invite links a default limit

This commit is contained in:
keyan 2024-04-02 10:09:21 -05:00
parent b997c19cf0
commit d0e15eb887

View File

@ -42,7 +42,7 @@ function InviteForm () {
<Form <Form
initial={{ initial={{
gift: 100, gift: 100,
limit: undefined limit: 1
}} }}
schema={inviteSchema} schema={inviteSchema}
onSubmit={async ({ limit, gift }) => { onSubmit={async ({ limit, gift }) => {