@tanstack/react-query 4.14.5 → 4.14.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-query",
3
- "version": "4.14.5",
3
+ "version": "4.14.6",
4
4
  "description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -1024,7 +1024,7 @@ describe('useQuery', () => {
1024
1024
 
1025
1025
  return (
1026
1026
  <div>
1027
- <div>{state?.data}</div>
1027
+ <div>{state.data}</div>
1028
1028
  <button onClick={() => state.refetch()}>refetch</button>
1029
1029
  </div>
1030
1030
  )