perf: add eventbus unmount in more places and optimise stats tab

This commit is contained in:
David Ralph
2021-08-20 22:06:40 +01:00
parent afcead634b
commit ef2f666ccf
12 changed files with 26 additions and 10 deletions

View File

@@ -126,7 +126,7 @@ export default class Search extends PureComponent {
}
componentWillUnmount() {
EventBus.remove('refresh');
EventBus.off('refresh');
}
render() {