Eslint files

This commit is contained in:
Thomas "ajnart" Camlong
2022-04-30 21:38:13 +02:00
parent b15c74e09d
commit 72458b8b63
5 changed files with 8 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ export default function AddItemShelfItem(props: any) {
});
return (
<>
<Modal size={'xl'} radius="lg" opened={props.opened || opened} onClose={() => setOpened(false)} title="Add a service">
<Modal size="xl" radius="lg" opened={props.opened || opened} onClose={() => setOpened(false)} title="Add a service">
<Center>
<Image
height={120}
@@ -49,6 +49,7 @@ export default function AddItemShelfItem(props: any) {
onSubmit={form.onSubmit(() => {
addItem(form.values);
setOpened(false);
form.reset();
})}
>
<Group direction="column" grow>
@@ -81,7 +82,7 @@ export default function AddItemShelfItem(props: any) {
/>
<Select
label="Select the type of service (used for API calls)"
defaultValue={'Other'}
defaultValue="Other"
placeholder="Pick one"
value={form.values.type}
required