Skip to content

Commit 4521a04

Browse files
authoredDec 16, 2024··
docs: use correct broadcastChannel default value and type name (#8436)
1 parent 94e2c77 commit 4521a04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎docs/framework/react/plugins/broadcastQueryClient.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ broadcastQueryClient({ queryClient, broadcastChannel })
4141
An object of options:
4242

4343
```tsx
44-
interface broadcastQueryClient {
44+
interface BroadcastQueryClientOptions {
4545
/** The QueryClient to sync */
4646
queryClient: QueryClient
4747
/** This is the unique channel name that will be used
@@ -56,6 +56,6 @@ The default options are:
5656

5757
```tsx
5858
{
59-
broadcastChannel = 'react-query',
59+
broadcastChannel = 'tanstack-query',
6060
}
6161
```

0 commit comments

Comments
 (0)
Please sign in to comment.