@base-stone/hooks 1.1.0 → 1.1.2
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.
|
@@ -223,7 +223,9 @@ function le({ queryFn: s, params: t, dataKey: o, fieldNames: e }) {
|
|
|
223
223
|
} else
|
|
224
224
|
n((g) => ({ ...g, options: v }));
|
|
225
225
|
u(!1);
|
|
226
|
-
}, a = M(
|
|
226
|
+
}, a = M(() => {
|
|
227
|
+
c();
|
|
228
|
+
});
|
|
227
229
|
z(() => {
|
|
228
230
|
c();
|
|
229
231
|
}, []);
|
|
@@ -265,7 +267,9 @@ function de({
|
|
|
265
267
|
z(() => {
|
|
266
268
|
f(l.current);
|
|
267
269
|
}, []);
|
|
268
|
-
const i = M(
|
|
270
|
+
const i = M(() => {
|
|
271
|
+
f();
|
|
272
|
+
});
|
|
269
273
|
return {
|
|
270
274
|
[e]: p,
|
|
271
275
|
loading: c,
|