This commit is contained in:
dicedtomato 2023-03-04 04:52:00 +00:00 committed by GitHub
parent 912e439645
commit 986858345e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ export default function Urls() {
<form onSubmit={form.onSubmit((v) => onSubmit(v))}>
<TextInput id='url' label='URL' {...form.getInputProps('url')} />
<TextInput id='vanity' label='Vanity' {...form.getInputProps('vanity')} />
<NumberInput id='maxViews' label='Max Views' {...form.getInputProps('maxViews')} />
<NumberInput id='maxViews' label='Max Views' {...form.getInputProps('maxViews')} min={0} />
<Group position='right' mt='md'>
<Button onClick={() => setCreateOpen(false)}>Cancel</Button>