Skip to content

Commit

Permalink
Ensure onBroadcast is set when devtools are enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 10, 2024
1 parent d9f9d15 commit b858198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ApolloClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export class ApolloClient<TCacheShape> implements DataProxy {
localState: this.localState,
assumeImmutableResults,
onBroadcast:
connectToDevTools ?
this.devtoolsConfig.enabled ?
() => {
if (this.devToolsHookCb) {
this.devToolsHookCb({
Expand Down

0 comments on commit b858198

Please sign in to comment.