@sellgar/kit 0.0.62 → 0.0.64
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.js +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12589,11 +12589,13 @@ const ad = M.createContext(null), cd = () => {
|
|
|
12589
12589
|
}) => {
|
|
12590
12590
|
const [p, g] = M.useState(!1), [v, y] = M.useState(!1), [_, b] = M.useState(
|
|
12591
12591
|
e ? Tc(i, r, e) ?? null : null
|
|
12592
|
-
), [x, O] = M.useState(
|
|
12592
|
+
), [x, O] = M.useState(
|
|
12593
|
+
_ != null ? i[_] : void 0
|
|
12594
|
+
);
|
|
12593
12595
|
return M.useEffect(() => {
|
|
12594
|
-
p &&
|
|
12596
|
+
p && b(e ? Tc(i, r, e) ?? null : null);
|
|
12595
12597
|
}, [e]), M.useEffect(() => {
|
|
12596
|
-
p && O(_ ? i[_] : void 0);
|
|
12598
|
+
p && O(_ != null ? i[_] : void 0);
|
|
12597
12599
|
}, [_]), M.useEffect(() => {
|
|
12598
12600
|
d || p && (v ? c && c() : a && a());
|
|
12599
12601
|
}, [v]), M.useEffect(() => {
|