Skip to content

Commit 8c967c7

Browse files
authoredJul 18, 2023
docs: fix visible comment in query-keys.md (#5736)
* Docs: fix visible comment in query-keys.md * Docs: (minor) Remove unnecessary parentheses from query-keys.md
1 parent 18ba7c0 commit 8c967c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎docs/react/guides/query-keys.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ function Todos({ todoId }) {
9191

9292
[//]: # 'Example5'
9393

94-
Note that query keys act as dependencies for your query functions. Adding dependent variables to your query key will ensure that queries are cached independently, and that any time a variable changes, *queries will be refetched automatically (depending on your `staleTime` settings).* (See the [exhaustive-deps](../eslint/exhaustive-deps) section for more information and examples.)
94+
Note that query keys act as dependencies for your query functions. Adding dependent variables to your query key will ensure that queries are cached independently, and that any time a variable changes, *queries will be refetched automatically* (depending on your `staleTime` settings). See the [exhaustive-deps](../eslint/exhaustive-deps) section for more information and examples.
95+
9596
[//]: # 'Materials'
9697

9798
## Further reading

0 commit comments

Comments
 (0)
Please sign in to comment.