mirror of
https://github.com/maputnik/editor.git
synced 2026-07-30 01:37:27 +00:00
React v16.3.0 fixes.
This commit is contained in:
@@ -17,7 +17,7 @@ class NumberInput extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
this.setState({ value: nextProps.value })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user