Skip to content

Commit

Permalink
docs: use correct broadcastChannel default value and type name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini-ghost committed Dec 14, 2024
1 parent 1eebfc9 commit b067569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/framework/react/plugins/broadcastQueryClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ broadcastQueryClient({ queryClient, broadcastChannel })
An object of options:

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

```tsx
{
broadcastChannel = 'react-query',
broadcastChannel = 'tanstack-query',
}
```

0 comments on commit b067569

Please sign in to comment.