diff --git a/README.md b/README.md index e2128aa23da..3dec89c2dff 100644 --- a/README.md +++ b/README.md @@ -1717,7 +1717,7 @@ const { - Optional - Set this to `true` to enable suspense mode. - When `true`, `useQuery` will suspend when `status === 'loading'` - - When `true`, `useQuery` will throw runtime errors when `status === 'error'` + - When `false`, `useQuery` will throw runtime errors when `status === 'error'` - `initialData: any | Function() => any` - Optional - If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet) @@ -1840,7 +1840,7 @@ const { - Optional - Set this to `true` to enable suspense mode. - When `true`, `useQuery` will suspend when `status === 'loading'` - - When `true`, `useQuery` will throw runtime errors when `status === 'error'` + - When `false`, `useQuery` will throw runtime errors when `status === 'error'` - `initialData: any` - Optional - If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet) @@ -1978,7 +1978,7 @@ const { - Optional - Set this to `true` to enable suspense mode. - When `true`, `useQuery` will suspend when `status === 'loading'` - - When `true`, `useQuery` will throw runtime errors when `status === 'error'` + - When `false`, `useQuery` will throw runtime errors when `status === 'error'` - `initialData: any` - Optional - If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet)