@pelcro/react-pelcro-js 3.0.0-beta.2 → 3.0.0-beta.3
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.cjs.js +3 -1
- package/dist/index.esm.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10300,7 +10300,9 @@ const Auth0LoginButton = ({
|
|
|
10300
10300
|
}
|
|
10301
10301
|
|
|
10302
10302
|
return () => {
|
|
10303
|
-
|
|
10303
|
+
var _auth0Script$removeEv;
|
|
10304
|
+
|
|
10305
|
+
auth0Script === null || auth0Script === void 0 ? void 0 : (_auth0Script$removeEv = auth0Script.removeEventListener) === null || _auth0Script$removeEv === void 0 ? void 0 : _auth0Script$removeEv.call(auth0Script, "load", handleScriptLoaded);
|
|
10304
10306
|
};
|
|
10305
10307
|
}, [auth0Script, auth0Enabled, auth0Loaded]);
|
|
10306
10308
|
const auth0InstanceRef = React__default['default'].useRef(null);
|
package/dist/index.esm.js
CHANGED
|
@@ -10270,7 +10270,9 @@ const Auth0LoginButton = ({
|
|
|
10270
10270
|
}
|
|
10271
10271
|
|
|
10272
10272
|
return () => {
|
|
10273
|
-
|
|
10273
|
+
var _auth0Script$removeEv;
|
|
10274
|
+
|
|
10275
|
+
auth0Script === null || auth0Script === void 0 ? void 0 : (_auth0Script$removeEv = auth0Script.removeEventListener) === null || _auth0Script$removeEv === void 0 ? void 0 : _auth0Script$removeEv.call(auth0Script, "load", handleScriptLoaded);
|
|
10274
10276
|
};
|
|
10275
10277
|
}, [auth0Script, auth0Enabled, auth0Loaded]);
|
|
10276
10278
|
const auth0InstanceRef = React__default.useRef(null);
|