From 2e3ca120f752ae73ba42884f0404a0fd7e5efc82 Mon Sep 17 00:00:00 2001 From: harsh12-99 Date: Thu, 11 Jan 2024 13:09:18 +0530 Subject: [PATCH] showing correct profile info --- src/containers/UserManagement/EditProfile.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/UserManagement/EditProfile.jsx b/src/containers/UserManagement/EditProfile.jsx index c2116ba3..32dc409a 100644 --- a/src/containers/UserManagement/EditProfile.jsx +++ b/src/containers/UserManagement/EditProfile.jsx @@ -145,7 +145,7 @@ const EditProfile = () => { const langObj = new FetchSupportedLanguagesAPI("TRANSLATION"); dispatch(APITransport(langObj)); // eslint-disable-next-line - }, []); + }, [id]); useEffect(() => { if (userData?.email && userData?.role) {