mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 20:08:19 +00:00
fix warnings and rename unsafe lifecycle function (#5814)
This commit is contained in:
@@ -43,7 +43,7 @@ class WikiMarkdownViewer extends React.Component {
|
||||
this.getTitlesInfo();
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
if (this.props.markdownContent === nextProps.markdownContent) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user