From 7cd8b34015c35e5973eb0424f8815807fa33e2ec Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Tue, 15 Dec 2015 17:54:43 +0800 Subject: [PATCH] chore: remove useless `div` --- components/modal/confirm.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/modal/confirm.jsx b/components/modal/confirm.jsx index 1f2504ea22..9b8eb43d46 100644 --- a/components/modal/confirm.jsx +++ b/components/modal/confirm.jsx @@ -29,6 +29,7 @@ export default function (props) { visible: false }); ReactDOM.unmountComponentAtNode(div); + div.parentNode.removeChild(div); } function onCancel() {