mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-07-09 06:58:06 +00:00
Add container to admin/settings.tsx
Took 2 minutes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
Box,
|
Box,
|
||||||
Button,
|
Button, Container,
|
||||||
FormControl,
|
FormControl,
|
||||||
FormErrorMessage,
|
FormErrorMessage,
|
||||||
FormLabel,
|
FormLabel,
|
||||||
@@ -60,7 +60,7 @@ export default function settings() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<Container>
|
||||||
<Box as="form" id="form_passion" width={'80%'}
|
<Box as="form" id="form_passion" width={'80%'}
|
||||||
onSubmit={handleSubmit(savePassion)}>
|
onSubmit={handleSubmit(savePassion)}>
|
||||||
<FormControl isInvalid={errors.name as boolean | undefined}>
|
<FormControl isInvalid={errors.name as boolean | undefined}>
|
||||||
@@ -77,7 +77,7 @@ export default function settings() {
|
|||||||
Submit
|
Submit
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</>
|
</Container>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user