Skip to content

Commit c85916a

Browse files
authored
Update queries.mdx
Added an apostrophe, changing `...the given posts data...` to `...the given post's data...`. An extremely minor change to be sure, but when writing about a post in a group of posts being able to easily distinguish between the two is important.
1 parent dd4b36a commit c85916a

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)