mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Fix create user page
This commit is contained in:
@@ -138,7 +138,6 @@ const CreateUser = () => {
|
||||
});
|
||||
setSelectedSection('security');
|
||||
},
|
||||
enableReinitialize: true,
|
||||
});
|
||||
|
||||
const { data: countryCodes, loading: countryCodesLoading } = useQuery<
|
||||
@@ -169,7 +168,7 @@ const CreateUser = () => {
|
||||
}),
|
||||
onSubmit: ({ password }) => {
|
||||
setNewUser({ ...newUser, password });
|
||||
createUser({ variables: { user: { ...newUser } } });
|
||||
createUser({ variables: { user: { ...newUser, password } } });
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user