bug fix
This commit is contained in:
parent
4ee74dc232
commit
46cca3cff3
|
@ -86,14 +86,15 @@ export default function ProfileSettings({
|
||||||
user.username !== account.username ||
|
user.username !== account.username ||
|
||||||
user.name !== account.name ||
|
user.name !== account.name ||
|
||||||
user.email !== account.email
|
user.email !== account.email
|
||||||
)
|
) {
|
||||||
update({
|
update({
|
||||||
username: user.username,
|
username: user.username,
|
||||||
email: user.username,
|
email: user.username,
|
||||||
name: user.name,
|
name: user.name,
|
||||||
});
|
});
|
||||||
|
|
||||||
signOut();
|
signOut();
|
||||||
|
}
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
setUser({ ...user, newPassword: undefined });
|
setUser({ ...user, newPassword: undefined });
|
||||||
|
|
Ŝarĝante…
Reference in New Issue