mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 08:28:11 +00:00
fix warnings and rename unsafe lifecycle function (#5814)
This commit is contained in:
@@ -48,7 +48,7 @@ class Wiki extends Component {
|
||||
this.pythonWrapper = null;
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
UNSAFE_componentWillMount() {
|
||||
if (!Utils.isDesktop()) {
|
||||
this.setState({ closeSideBar: true });
|
||||
}
|
||||
|
Reference in New Issue
Block a user