@tanstack/solid-query 4.22.0 → 4.22.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3036,7 +3036,7 @@
3036
3036
  notify(options) {
3037
3037
  notifyManager.batch(() => {
3038
3038
  // First trigger the mutate callbacks
3039
- if (this.mutateOptions) {
3039
+ if (this.mutateOptions && this.hasListeners()) {
3040
3040
  if (options.onSuccess) {
3041
3041
  var _this$mutateOptions$o, _this$mutateOptions, _this$mutateOptions$o2, _this$mutateOptions2;
3042
3042