mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
fix warnings and rename unsafe lifecycle function (#5814)
This commit is contained in:
@@ -72,7 +72,7 @@ class App extends Component {
|
||||
}
|
||||
};
|
||||
|
||||
componentWillMount() {
|
||||
UNSAFE_componentWillMount() {
|
||||
if (!Utils.isDesktop()) {
|
||||
this.setState({
|
||||
isSidePanelClosed: true
|
||||
|
Reference in New Issue
Block a user