diff --git a/src/components/UserDetailSections/UserInfo/hooks/useProfilePicture/useProfilePicture.js b/src/components/UserDetailSections/UserInfo/hooks/useProfilePicture/useProfilePicture.js index dc39f9b82..588b01d94 100644 --- a/src/components/UserDetailSections/UserInfo/hooks/useProfilePicture/useProfilePicture.js +++ b/src/components/UserDetailSections/UserInfo/hooks/useProfilePicture/useProfilePicture.js @@ -13,7 +13,6 @@ const useProfilePicture = ({ profilePictureId }, options = {}) => { const [namespace] = useNamespace({ key: 'get-profile-picture-of-a-user' }); const { isFetching, - isLoading, data = {}, } = useQuery( [namespace, profilePictureId], @@ -27,7 +26,6 @@ const useProfilePicture = ({ profilePictureId }, options = {}) => { ); return ({ - isLoading, isFetching, profilePictureData: data?.profile_picture_blob, });