@abdellatifui/react 3.2.34 → 3.2.35
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/nextgen.js +3 -3
- package/package.json +1 -1
package/dist/nextgen.js
CHANGED
|
@@ -22059,7 +22059,7 @@ const Ud = Pn({ name: "", onChange: () => {
|
|
|
22059
22059
|
};
|
|
22060
22060
|
}, [b]), K(() => {
|
|
22061
22061
|
if (k)
|
|
22062
|
-
return x && S && b.on("/stream/notify", (N) => {
|
|
22062
|
+
return x && S && (console.log("Mounting Notification Listener ..."), b.on("/stream/notify", (N) => {
|
|
22063
22063
|
if (console.log("notify", N), N?._role == "alert") {
|
|
22064
22064
|
const j = N?.status == 200;
|
|
22065
22065
|
abui?.alert({
|
|
@@ -22074,8 +22074,8 @@ const Ud = Pn({ name: "", onChange: () => {
|
|
|
22074
22074
|
type: j
|
|
22075
22075
|
});
|
|
22076
22076
|
}
|
|
22077
|
-
}), () => {
|
|
22078
|
-
b?.off?.("/stream/notify");
|
|
22077
|
+
})), () => {
|
|
22078
|
+
console.log("Unmounting Notification Listener ..."), b?.off?.("/stream/notify");
|
|
22079
22079
|
};
|
|
22080
22080
|
}, [x, S, k]);
|
|
22081
22081
|
const E = (N) => async (...j) => {
|