fix: 🐛

This commit is contained in:
codytseng 2025-01-13 23:22:19 +08:00
parent d0350c6ad3
commit c62a82f673
9 changed files with 283 additions and 244 deletions

View file

@ -21,7 +21,8 @@ export default function FeedSwitcher({ close }: { close?: () => void }) {
itemName={t('Following')}
isActive={feedType === 'following'}
onClick={() => {
switchFeed('following')
if (!pubkey) return
switchFeed('following', { pubkey })
close?.()
}}
/>