@tanstack/vue-query 4.13.3 → 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.
|
@@ -2469,7 +2469,6 @@
|
|
|
2469
2469
|
if (options.select && typeof placeholderData !== 'undefined') {
|
|
2470
2470
|
try {
|
|
2471
2471
|
placeholderData = options.select(placeholderData);
|
|
2472
|
-
placeholderData = replaceData(prevResult == null ? void 0 : prevResult.data, placeholderData, options);
|
|
2473
2472
|
this.selectError = null;
|
|
2474
2473
|
} catch (selectError) {
|
|
2475
2474
|
{
|
|
@@ -2483,7 +2482,7 @@
|
|
|
2483
2482
|
|
|
2484
2483
|
if (typeof placeholderData !== 'undefined') {
|
|
2485
2484
|
status = 'success';
|
|
2486
|
-
data = placeholderData;
|
|
2485
|
+
data = replaceData(prevResult == null ? void 0 : prevResult.data, placeholderData, options);
|
|
2487
2486
|
isPlaceholderData = true;
|
|
2488
2487
|
}
|
|
2489
2488
|
}
|