Skip to content

Commit

Permalink
changed Avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
COdevra committed Aug 11, 2024
1 parent e633b5e commit 284d0dc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nepalingo-web/src/components/ProfileEditForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ const ProfileEditForm: React.FC = () => {
},
});

if (dbError) {
console.error("Error updating user in database:", dbError.message);
return;
}


// Refetch user data to update UI
await refetchUser();

Expand Down

0 comments on commit 284d0dc

Please sign in to comment.