Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fix

Daniel46cca3cff3a7
diff --git a/components/Modal/User/ProfileSettings.tsx b/components/Modal/User/ProfileSettings.tsx
index 0365a782..1591738d 100644
--- a/components/Modal/User/ProfileSettings.tsx
+++ b/components/Modal/User/ProfileSettings.tsx
@@ -86,14 +86,15 @@ export default function ProfileSettings({
user.username !== account.username ||
user.name !== account.name ||
user.email !== account.email
- )
+ ) {
update({
username: user.username,
email: user.username,
name: user.name,
});
- signOut();
+ signOut();
+ }
if (response.ok) {
setUser({ ...user, newPassword: undefined });