refact: bookmarks

This commit is contained in:
codytseng 2025-04-18 22:53:52 +08:00
parent 7876f26d0c
commit 46d48a6d52
22 changed files with 223 additions and 175 deletions

View file

@ -93,6 +93,10 @@ export function FeedProvider({ children }: { children: React.ReactNode }) {
if (feedInfo.feedType === 'following' && pubkey) {
return await switchFeed('following', { pubkey })
}
if (feedInfo.feedType === 'bookmarks' && pubkey) {
return await switchFeed('bookmarks', { pubkey })
}
}
init()