mirror of
https://github.com/mue/mue.git
synced 2026-07-22 08:17:28 +02:00
perf: add eventbus unmount in more places and optimise stats tab
This commit is contained in:
@@ -134,7 +134,7 @@ export default class Greeting extends PureComponent {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
EventBus.remove('refresh');
|
||||
EventBus.off('refresh');
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user