edit: fix update user info

This commit is contained in:
axolotle 2023-12-29 16:34:08 +01:00
parent 3c2510edb9
commit 35e4629c0a

View file

@ -64,7 +64,7 @@ const onSubmit = handleSubmit(async (form) => {
message,
}
} else if (data.value) {
Object.assign(user.value, data)
Object.assign(user.value, data.value)
resetForm({
values: { ...data.value, mail: user.value.mail },
})