react-confirm-alert
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -239,4 +239,6 @@ 'use strict'; | ||
var target = document.getElementById('react-confirm-alert'); | ||
(0, _reactDom.unmountComponentAtNode)(target); | ||
target.parentNode.removeChild(target); | ||
if (target) { | ||
(0, _reactDom.unmountComponentAtNode)(target); | ||
target.parentNode.removeChild(target); | ||
} | ||
} | ||
@@ -243,0 +245,0 @@ |
{ | ||
"name": "react-confirm-alert", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "react component confirm dialog.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17452
345