@tanstack/react-query 4.32.1 → 4.32.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.
|
@@ -2816,7 +2816,7 @@
|
|
|
2816
2816
|
// then we'll need to update the properties as well
|
|
2817
2817
|
|
|
2818
2818
|
|
|
2819
|
-
if (observer.getCurrentResult()
|
|
2819
|
+
if (!shallowEqualObjects(observer.getCurrentResult(), optimisticResult)) {
|
|
2820
2820
|
return true;
|
|
2821
2821
|
} // basically, just keep previous properties if nothing changed
|
|
2822
2822
|
|