Skip to content

Commit e66ab51

Browse files
tstehrdiasbruno
authored andcommitted
Set removePortalTimer to null in constructor
1 parent d076c91 commit e66ab51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/Modal.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ class Modal extends Component {
128128
}
129129
};
130130

131+
constructor(props) {
132+
super(props);
133+
this.removePortalTimer = null;
134+
}
135+
131136
componentDidMount() {
132137
if (!canUseDOM) return;
133138

0 commit comments

Comments
 (0)