fix(profile): hide block on own profile
All checks were successful
Release to Staging / build_and_release (push) Successful in 39s
All checks were successful
Release to Staging / build_and_release (push) Successful in 39s
This commit is contained in:
parent
15af98359d
commit
2dc0ab6cf4
@ -420,6 +420,7 @@ export const ProfilePage = () => {
|
|||||||
</svg>
|
</svg>
|
||||||
Share
|
Share
|
||||||
</a>
|
</a>
|
||||||
|
{!isOwnProfile && (
|
||||||
<>
|
<>
|
||||||
<a
|
<a
|
||||||
className='dropdown-item dropdownMainMenuItem'
|
className='dropdown-item dropdownMainMenuItem'
|
||||||
@ -455,6 +456,7 @@ export const ProfilePage = () => {
|
|||||||
{isBlocked ? 'Unblock' : 'Block User'}
|
{isBlocked ? 'Unblock' : 'Block User'}
|
||||||
</a>
|
</a>
|
||||||
</>
|
</>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user