From 2dc0ab6cf43f6667f6c59ded311cfc3354bf173d Mon Sep 17 00:00:00 2001 From: enes Date: Mon, 28 Oct 2024 13:10:40 +0100 Subject: [PATCH] fix(profile): hide block on own profile --- src/pages/profile.tsx | 68 ++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index 6d1d112..b69f597 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -420,41 +420,43 @@ export const ProfilePage = () => { Share - <> - setShowReportPopUp(true)} - > - + setShowReportPopUp(true)} > - - - Report - - - + + + Report + + - - - {isBlocked ? 'Unblock' : 'Block User'} - - + + + + {isBlocked ? 'Unblock' : 'Block User'} + + + )}