mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 03:11:07 +00:00
fix warnings and rename unsafe lifecycle function (#5814)
This commit is contained in:
@@ -75,7 +75,7 @@ class SelectEditor extends React.Component {
|
||||
});
|
||||
};
|
||||
|
||||
componentWillReceiveProps() {
|
||||
UNSAFE_componentWillReceiveProps() {
|
||||
this.setOptions();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user