diff --git a/docs/guides/query-invalidation.md b/docs/guides/query-invalidation.md index cbd1093e49..0d8aac55bc 100644 --- a/docs/guides/query-invalidation.md +++ b/docs/guides/query-invalidation.md @@ -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