Skip to content

Commit f549dd5

Browse files
author
Kent C. Dodds
authored
use UNSAFE_componentWillMount
1 parent 3f83b18 commit f549dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/PointTarget.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class PointTarget extends React.Component {
5757
this.props.onPoint()
5858
}
5959

60-
componentWillMount() {
60+
UNSAFE_componentWillMount() {
6161
this.usingTouch = false
6262
}
6363

0 commit comments

Comments
 (0)