mirror of https://github.com/AlphaNecron/Void.git
fix(component): is admin is accidentally set to required
This commit is contained in:
parent
4a979e945f
commit
f99915506a
|
@ -26,6 +26,7 @@ export default function Users() {
|
|||
.required('Password is required'),
|
||||
isAdmin: yup
|
||||
.boolean()
|
||||
.notRequired()
|
||||
});
|
||||
const updateUsers = async () => {
|
||||
setBusy(true);
|
||||
|
@ -174,4 +175,4 @@ export default function Users() {
|
|||
</Table>
|
||||
</Skeleton>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue