design: add unified notifications button

This commit is contained in:
James Xylight committed 2025-07-04 19:02:07 -07:00
1 parent d0ade27f99
commit 3706b31fda
8 files changed
+112 -76

No files matched your search

+10 -10
View File
@@ -54,16 +54,16 @@ export async function postFeed(args: {
},
}
return (
postFeeds.value[args.id]?.data ?? {
...args.request,
posts: posts,
cursor: {
next: posts.next_page,
},
type_: args.request.type_,
}
)
const defaultFeed = $state({
...args.request,
posts: posts,
cursor: {
next: posts.next_page,
},
type_: args.request.type_,
})
return postFeeds.value[args.id]?.data ?? defaultFeed
}
export function getPostFeed(feeds: Map<PostFeedID, PostFeed>, id: PostFeedID) {