fix(profile): unblock tag filter
All checks were successful
Release to Staging / build_and_release (push) Successful in 44s

This commit is contained in:
enes 2024-10-28 13:08:47 +01:00
parent 3906c70bc9
commit 15af98359d

View File

@ -212,7 +212,7 @@ export const ProfilePage = () => {
kind: NDKKind.MuteList,
content: muteListEvent.content,
created_at: now(),
tags: tags.filter((item) => item[0] !== 'a' || item[1] !== profilePubkey)
tags: tags.filter((item) => item[0] !== 'p' || item[1] !== profilePubkey)
}
setLoadingSpinnerDesc('Updating mute list event')
@ -420,7 +420,6 @@ export const ProfilePage = () => {
</svg>
Share
</a>
{!isOwnProfile && (
<>
<a
className='dropdown-item dropdownMainMenuItem'
@ -456,7 +455,6 @@ export const ProfilePage = () => {
{isBlocked ? 'Unblock' : 'Block User'}
</a>
</>
)}
</div>
</div>
</div>