mirror of
https://github.com/mue/mue.git
synced 2026-07-16 13:34:03 +02:00
perf: add eventbus unmount in more places and optimise stats tab
This commit is contained in:
@@ -355,6 +355,10 @@ export default class Background extends PureComponent {
|
||||
this.setBackground();
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
EventBus.off('refresh');
|
||||
}
|
||||
|
||||
render() {
|
||||
if (this.state.video === true) {
|
||||
const enabled = (setting) => {
|
||||
|
||||
Reference in New Issue
Block a user