@tanstack/solid-query 4.35.0 → 4.35.3

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.
@@ -1020,8 +1020,8 @@
1020
1020
  }
1021
1021
  }
1022
1022
 
1023
- if (!Array.isArray(this.options.queryKey)) {
1024
- {
1023
+ {
1024
+ if (!Array.isArray(this.options.queryKey)) {
1025
1025
  this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");
1026
1026
  }
1027
1027
  }
@@ -1218,7 +1218,8 @@
1218
1218
  const error = action.error;
1219
1219
 
1220
1220
  if (isCancelledError(error) && error.revert && this.revertState) {
1221
- return { ...this.revertState
1221
+ return { ...this.revertState,
1222
+ fetchStatus: 'idle'
1222
1223
  };
1223
1224
  }
1224
1225