refact: bookmarks
This commit is contained in:
parent
7876f26d0c
commit
46d48a6d52
22 changed files with 223 additions and 175 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue