Skip to content

Commit 270fa0f

Browse files
docs: fix typo for initialData API (TanStack#788)
1 parent bc22de0 commit 270fa0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const queryInfo = useQuery({
110110
- If set to a function, the function will be called **once** during the shared/root query initialization, and be expected to synchronously return the initialData
111111
- `initialStale: Boolean | Function() => Boolean`
112112
- Optional
113-
- If set, this will mark the `initialData` any `initialData` provided as stale and will likely cause it to be refetched on mount
113+
- If set, this will mark any `initialData` provided as stale and will likely cause it to be refetched on mount
114114
- If a function is passed, it will be called only when appropriate to resolve the `initialStale` value. This can be useful if your `initialStale` value is costly to calculate.
115115
- `refetchOnMount: Boolean`
116116
- Optional

0 commit comments

Comments
 (0)