feat: remove broadcasting Extensions Manager events from ComponentView (#703)

* feat: remove `broadcast` from `ComponentView`

As "Extensions Manager" is removed, the related events' broadcasting is not needed anymore

* fix: restore `manualDealloc`
This commit is contained in:
Vardan Hakobyan
2021-10-25 17:08:37 +04:00
committed by GitHub
parent d5a81c6648
commit b898e886a5
8 changed files with 6 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ import { FunctionalComponent } from 'preact';
interface IProps {
expiredDate: string;
reloadStatus: (doManualReload?: boolean) => void;
reloadStatus: () => void;
}
export const IsExpired: FunctionalComponent<IProps> = ({
@@ -35,7 +35,7 @@ export const IsExpired: FunctionalComponent<IProps> = ({
</div>
</div>
<div className={'right'}>
<div className={'sk-app-bar-item'} onClick={() => reloadStatus(true)}>
<div className={'sk-app-bar-item'} onClick={() => reloadStatus()}>
<button className={'sn-button small info'}>Reload</button>
</div>
<div className={'sk-app-bar-item'}>