@braine/quantum-query 1.3.5 → 1.3.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.
- package/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2368,6 +2368,7 @@ function useMutation(options) {
|
|
|
2368
2368
|
}, [observer, options]);
|
|
2369
2369
|
const state = (0, import_react9.useSyncExternalStore)(
|
|
2370
2370
|
(0, import_react9.useCallback)((cb) => observer.signal.subscribe(cb), [observer]),
|
|
2371
|
+
() => observer.signal.get(),
|
|
2371
2372
|
() => observer.signal.get()
|
|
2372
2373
|
);
|
|
2373
2374
|
const mutateAsync = (0, import_react9.useCallback)((variables) => {
|
package/dist/index.js
CHANGED
|
@@ -2321,6 +2321,7 @@ function useMutation(options) {
|
|
|
2321
2321
|
}, [observer, options]);
|
|
2322
2322
|
const state = useSyncExternalStore3(
|
|
2323
2323
|
useCallback3((cb) => observer.signal.subscribe(cb), [observer]),
|
|
2324
|
+
() => observer.signal.get(),
|
|
2324
2325
|
() => observer.signal.get()
|
|
2325
2326
|
);
|
|
2326
2327
|
const mutateAsync = useCallback3((variables) => {
|