fix: type error

This commit is contained in:
diced 2023-01-15 16:58:26 -08:00
parent 9117a9d779
commit c8926682b2
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -108,7 +108,7 @@ function CreateInviteModal({ open, setOpen, updateInvites }) {
min={1}
stepHoldDelay={200}
stepHoldInterval={100}
parser={(v: string) => Number(v.replace(/[^\d]/g, ''))}
parser={(v: string) => v.replace(/[^\d]/g, '')}
/>
<Group position='right' mt='md'>