From 5320f04e6ef1a41e9b4ab12d1b81a1a976278433 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 25 Jun 2023 12:04:30 -0500 Subject: [PATCH] Fetch relationship from profile page --- app/soapbox/pages/profile-page.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/soapbox/pages/profile-page.tsx b/app/soapbox/pages/profile-page.tsx index 6d0f74d4f..b4c746473 100644 --- a/app/soapbox/pages/profile-page.tsx +++ b/app/soapbox/pages/profile-page.tsx @@ -31,9 +31,7 @@ const ProfilePage: React.FC = ({ params, children }) => { const history = useHistory(); const username = params?.username || ''; - const { account } = useAccountLookup(username); - - console.log(account?.relationship); + const { account } = useAccountLookup(username, { withRelationship: true }); const me = useAppSelector(state => state.me); const features = useFeatures();