From f9e6158144725fe122151f37e51ebafb31b7e548 Mon Sep 17 00:00:00 2001 From: TacticalCoderJay Date: Mon, 17 Oct 2022 07:59:33 -0700 Subject: [PATCH] hotfix: change text to adjusted limit (#196) --- src/components/pages/Invites.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/Invites.tsx b/src/components/pages/Invites.tsx index 80e6b61..7544565 100644 --- a/src/components/pages/Invites.tsx +++ b/src/components/pages/Invites.tsx @@ -31,7 +31,7 @@ function CreateInviteModal({ open, setOpen, updateInvites }) { const onSubmit = async values => { if (!expires.includes(values.expires)) return form.setFieldError('expires', 'Invalid expiration'); - if (values.count < 1 || values.count > 100) return form.setFieldError('count', 'Must be between 1 and 200'); + if (values.count < 1 || values.count > 100) return form.setFieldError('count', 'Must be between 1 and 100'); const expires_at = values.expires === 'never' ? null : new Date({ '30m': Date.now() + 30 * 60 * 1000, '1h': Date.now() + 60 * 60 * 1000,