@tanstack/react-query-devtools 4.29.5 → 4.29.6

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.
@@ -3299,6 +3299,13 @@
3299
3299
  }, "Remove"), ' ', /*#__PURE__*/React__namespace.createElement(Button, {
3300
3300
  type: "button",
3301
3301
  onClick: () => {
3302
+ var _activeQuery$state$fe;
3303
+
3304
+ // Return early if the query is already restoring
3305
+ if (activeQuery.state.fetchStatus === 'fetching' && typeof ((_activeQuery$state$fe = activeQuery.state.fetchMeta) == null ? void 0 : _activeQuery$state$fe.__previousQueryOptions) === 'undefined') {
3306
+ return;
3307
+ }
3308
+
3302
3309
  if (activeQuery.state.data === undefined) {
3303
3310
  restoreQueryAfterLoadingOrError();
3304
3311
  } else {