@pinwheel/react-modal
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -50,2 +50,8 @@ var React = require('react'); | ||
setLoaded(false); | ||
var els = document.querySelectorAll('.pinwheel-portal'); | ||
els.forEach(function (e) { | ||
var _e$parentNode; | ||
return (_e$parentNode = e.parentNode) === null || _e$parentNode === void 0 ? void 0 : _e$parentNode.removeChild(e); | ||
}); | ||
addScriptTag(function () { | ||
@@ -52,0 +58,0 @@ return setLoaded(true); |
@@ -50,2 +50,8 @@ import { useState, useEffect, createElement } from 'react'; | ||
setLoaded(false); | ||
var els = document.querySelectorAll('.pinwheel-portal'); | ||
els.forEach(function (e) { | ||
var _e$parentNode; | ||
return (_e$parentNode = e.parentNode) === null || _e$parentNode === void 0 ? void 0 : _e$parentNode.removeChild(e); | ||
}); | ||
addScriptTag(function () { | ||
@@ -52,0 +58,0 @@ return setLoaded(true); |
{ | ||
"name": "@pinwheel/react-modal", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "React package for Pinwheel modal", | ||
@@ -5,0 +5,0 @@ "author": "roscioli", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
15538
155