@tanstack/react-query 4.13.0 → 4.13.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.
@@ -2493,7 +2493,6 @@
2493
2493
  if (options.select && typeof placeholderData !== 'undefined') {
2494
2494
  try {
2495
2495
  placeholderData = options.select(placeholderData);
2496
- placeholderData = replaceData(prevResult == null ? void 0 : prevResult.data, placeholderData, options);
2497
2496
  this.selectError = null;
2498
2497
  } catch (selectError) {
2499
2498
  {
@@ -2507,7 +2506,7 @@
2507
2506
 
2508
2507
  if (typeof placeholderData !== 'undefined') {
2509
2508
  status = 'success';
2510
- data = placeholderData;
2509
+ data = replaceData(prevResult == null ? void 0 : prevResult.data, placeholderData, options);
2511
2510
  isPlaceholderData = true;
2512
2511
  }
2513
2512
  }