@cakemail-org/ui-components-v2 2.0.49 → 2.0.51
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/cjs/index.js +2 -2
- package/dist/esm/index.js +2 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -9993,9 +9993,9 @@ function GenericWrapper(_a) {
|
|
|
9993
9993
|
}
|
|
9994
9994
|
}, [user]);
|
|
9995
9995
|
React.useEffect(initPH, []);
|
|
9996
|
-
React.useEffect(initHandlers, []);
|
|
9996
|
+
React.useEffect(initHandlers, [mUITheme]);
|
|
9997
9997
|
function initHandlers() {
|
|
9998
|
-
if (!includeHandlers)
|
|
9998
|
+
if (!includeHandlers || !mUITheme)
|
|
9999
9999
|
return;
|
|
10000
10000
|
//@ts-ignore
|
|
10001
10001
|
DialogHandler.register(dialogRef.current);
|
package/dist/esm/index.js
CHANGED
|
@@ -9973,9 +9973,9 @@ function GenericWrapper(_a) {
|
|
|
9973
9973
|
}
|
|
9974
9974
|
}, [user]);
|
|
9975
9975
|
useEffect(initPH, []);
|
|
9976
|
-
useEffect(initHandlers, []);
|
|
9976
|
+
useEffect(initHandlers, [mUITheme]);
|
|
9977
9977
|
function initHandlers() {
|
|
9978
|
-
if (!includeHandlers)
|
|
9978
|
+
if (!includeHandlers || !mUITheme)
|
|
9979
9979
|
return;
|
|
9980
9980
|
//@ts-ignore
|
|
9981
9981
|
DialogHandler.register(dialogRef.current);
|