mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove arrays in disposeOnUnmount()
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
This commit is contained in:
parent
fbbbe6241a
commit
fe7f1785f7
@ -17,11 +17,11 @@ export class InstallFeature extends React.Component<Props> {
|
|||||||
@observable loading = false;
|
@observable loading = false;
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
disposeOnUnmount(this, [
|
disposeOnUnmount(this,
|
||||||
reaction(() => this.props.cluster.features[this.props.feature], () => {
|
reaction(() => this.props.cluster.features[this.props.feature], () => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
})
|
})
|
||||||
]);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
getActionButtons() {
|
getActionButtons() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user