paymob-pixel-alpha 1.1.58 → 1.1.59
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/main.js +2 -1
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -82653,7 +82653,8 @@ const ShadowWrapper = ({
|
|
|
82653
82653
|
const [error, setError] = (0,react.useState)(null);
|
|
82654
82654
|
(0,react.useEffect)(() => {
|
|
82655
82655
|
if (!document.getElementById(elementId)) return;
|
|
82656
|
-
|
|
82656
|
+
|
|
82657
|
+
//document.getElementById(elementId)!.innerHTML = '';
|
|
82657
82658
|
const container = document.getElementById(elementId).appendChild(document.createElement('div'));
|
|
82658
82659
|
if (!('attachShadow' in Element.prototype)) {
|
|
82659
82660
|
setError('Shadow DOM is not supported in this browser');
|