diff --git a/src/pages/UserProfile/UserProfile.tsx b/src/pages/UserProfile/UserProfile.tsx index 5598d5fc..911d6cd0 100644 --- a/src/pages/UserProfile/UserProfile.tsx +++ b/src/pages/UserProfile/UserProfile.tsx @@ -41,7 +41,7 @@ const UserProfile = () => { ansvarlig: formatDisplayName(manager.display_name), })) }, - [userProfileData] + [principalName, userProfileData] ) useEffect(() => {