Skip to content

Commit 24fc343

Browse files
authored
Merge pull request #3562 from flyingace/patch-1
Update queries.mdx, added apostrophe - "posts" to "post's"
2 parents dd4b36a + c85916a commit 24fc343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/usage/queries.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ function PostsList() {
292292
}
293293

294294
function PostById({ id }: { id: number }) {
295-
// Will select the post with the given id, and will only rerender if the given posts data changes
295+
// Will select the post with the given id, and will only rerender if the given post's data changes
296296
const { post } = api.useGetPostsQuery(undefined, {
297297
selectFromResult: ({ data }) => ({
298298
post: data?.find((post) => post.id === id),

0 commit comments

Comments
 (0)