Skip to content

Commit b3b6e1f

Browse files
author
David
committed
fix lint issues
1 parent 01e1b3f commit b3b6e1f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/modal/index.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,11 @@ class Modal extends React.Component {
190190
if (!this.isUnmounting) {
191191
const el = ReactDOM.findDOMNode(this); // eslint-disable-line react/no-find-dom-node
192192

193-
if (el && el.parentNode && el.parentNode.getAttribute('data-slds-modal')) {
193+
if (
194+
el &&
195+
el.parentNode &&
196+
el.parentNode.getAttribute('data-slds-modal')
197+
) {
194198
ReactDOM.unmountComponentAtNode(el);
195199
document.body.removeChild(el);
196200
}

0 commit comments

Comments
 (0)