Skip to content

Commit 8058b89

Browse files
committed
Merge branch 'zarsky-broad-patch-1'
2 parents 65b802b + d7f0c85 commit 8058b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Interactive extends React.Component {
110110
}
111111
}
112112

113-
componentWillReceiveProps(nextProps) {
113+
UNSAFE_componentWillReceiveProps(nextProps) {
114114
// set if the `topNode` needs to be updated in componentDidUpdate => `as` is different
115115
// and not a string, note that if `as` is a new string, then the `refCallback`
116116
// will be called by React so no need to do anything in componentDidUpdate

0 commit comments

Comments
 (0)