Skip to content

Commit 85d14d3

Browse files
authored
docs: document that setDefaultOptions overwrites previous defaults (TanStack#2321)
1 parent 74642a3 commit 85d14d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/reference/QueryClient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ const defaultOptions = queryClient.getDefaultOptions()
410410

411411
## `queryClient.setDefaultOptions`
412412

413-
The `setDefaultOptions` method can be used to dynamically set the default options for this queryClient.
413+
The `setDefaultOptions` method can be used to dynamically set the default options for this queryClient. Previously defined default options will be overwritten.
414414

415415
```js
416416
queryClient.setDefaultOptions({

0 commit comments

Comments
 (0)