Recent posts

This commit is contained in:
Kilian committed 2024-07-27 23:02:17 +02:00
1 parent a950f6770a
commit 2c9f8caff4
11 files changed
+62 -27

No files matched your search

+6
View File
@@ -11,3 +11,9 @@ export const profileQueryOptions = (id?: number) =>
queryKey: ['profile', { id }],
queryFn: () => Api.user(id),
});
export const profilePostsQueryOptions = (id: number) =>
queryOptions({
queryKey: ['profilePosts', { id }],
queryFn: () => Api.userPosts(id),
});