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