Remove annotation timer at unmount
parent
f35d2f438e
commit
aebedd84b3
|
@ -128,6 +128,8 @@ class DashboardPage extends Component {
|
|||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
clearInterval(this.intervalID)
|
||||
this.intervalID = false
|
||||
window.removeEventListener('resize', this.handleWindowResize, true)
|
||||
this.props.handleDismissEditingAnnotation()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue