Skip to content

Commit 247bd40

Browse files
committed
run yarn lint --fix
1 parent 579bcaa commit 247bd40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PortalWithState.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ class PortalWithState extends React.Component {
7272
if (!this.state.active) {
7373
return;
7474
}
75-
const root = this.portalNode && (this.portalNode.props.node || this.portalNode.defaultNode);
75+
const root =
76+
this.portalNode &&
77+
(this.portalNode.props.node || this.portalNode.defaultNode);
7678
if (!root || root.contains(e.target) || (e.button && e.button !== 0)) {
7779
return;
7880
}

0 commit comments

Comments
 (0)