From fef7d70a4619db3198040555b12be431937ee0d8 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Oct 2024 19:54:08 +0000 Subject: [PATCH] commits error, changes not reflecting solved --- src/components/Users/UserProfile.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Users/UserProfile.tsx b/src/components/Users/UserProfile.tsx index c7e58a07609..b6a583cb112 100644 --- a/src/components/Users/UserProfile.tsx +++ b/src/components/Users/UserProfile.tsx @@ -494,6 +494,8 @@ export default function UserProfile() { refetchUser(); Notification.Success({ msg: "Profile picture updated." }); setEditAvatar(false); + } else { + onError(); } }, null,