mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
React v16.3.0 fixes.
This commit is contained in:
@@ -18,7 +18,7 @@ class StringInput extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
this.setState({ value: nextProps.value || '' })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user