chore: remove ununsed code to update user
This commit is contained in:
parent
1a0a1756b0
commit
78d00da35d
|
@ -32,11 +32,7 @@ export const MembershipModal = ({
|
||||||
form
|
form
|
||||||
.validateFields()
|
.validateFields()
|
||||||
.then((values) => {
|
.then((values) => {
|
||||||
let input = values;
|
onCreate(values);
|
||||||
if (initialData.id)
|
|
||||||
input.username = initialData.username;
|
|
||||||
|
|
||||||
onCreate(input);
|
|
||||||
form.resetFields();
|
form.resetFields();
|
||||||
})
|
})
|
||||||
.catch((info) => {
|
.catch((info) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user