Skip to content

Commit

Permalink
docs: Adds a missing square bracket (#4488)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanBarker182 committed Nov 11, 2022
1 parent f079297 commit 54f16f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/query-invalidation.md
Expand Up @@ -48,7 +48,7 @@ You can even invalidate queries with specific variables by passing a more specif

```tsx
queryClient.invalidateQueries({
queryKey: ['todos', { type: 'done' },
queryKey: ['todos', { type: 'done' }],
})

// The query below will be invalidated
Expand Down

0 comments on commit 54f16f6

Please sign in to comment.