Recent posts
This commit is contained in:
1 parent
a950f6770a
commit
2c9f8caff4
11 files changed
+62
-27
No files matched your search
@@ -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),
|
||||
});
|
||||
Reference in new issue
Block a user