Commit 7b439cd8 authored by Luke Schoen's avatar Luke Schoen Committed by Amaury Martiny
Browse files

fix: Fix warning since lifecycle method should be componentWillUnmount (#461)

index.js:1446 Warning: App has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?
parent d6cdfc97
Pipeline #32549 passed with stages
in 9 minutes and 21 seconds
......@@ -64,7 +64,7 @@ class App extends Component {
});
}
componentDidUnmount () {
componentWillUnmount () {
window.removeEventListener('contextmenu', this.handleRightClick);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment