fix(profile): hide block on own profile
All checks were successful
Release to Staging / build_and_release (push) Successful in 39s

This commit is contained in:
enes 2024-10-28 13:10:40 +01:00
parent 15af98359d
commit 2dc0ab6cf4

View File

@ -420,6 +420,7 @@ export const ProfilePage = () => {
</svg>
Share
</a>
{!isOwnProfile && (
<>
<a
className='dropdown-item dropdownMainMenuItem'
@ -455,6 +456,7 @@ export const ProfilePage = () => {
{isBlocked ? 'Unblock' : 'Block User'}
</a>
</>
)}
</div>
</div>
</div>