mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 13:50:07 +00:00
fix warnings and rename unsafe lifecycle function (#5814)
This commit is contained in:
@@ -44,7 +44,7 @@ class SidePanel extends Component {
|
||||
this.isNodeMenuShow = true;
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
this.setState({opNode: nextProps.currentNode});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user