@cakemail-org/ui-components-v2 2.0.50 → 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 +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -9995,7 +9995,7 @@ function GenericWrapper(_a) {
|
|
|
9995
9995
|
React.useEffect(initPH, []);
|
|
9996
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
|
@@ -9975,7 +9975,7 @@ function GenericWrapper(_a) {
|
|
|
9975
9975
|
useEffect(initPH, []);
|
|
9976
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);
|