Remove arrays in disposeOnUnmount()

Signed-off-by: alexfront <alex.andreev.email@gmail.com>
This commit is contained in:
alexfront committed 2020-08-07 14:52:00 +03:00
1 parent fbbbe6241a
commit fe7f1785f7
1 file changed
+2 -2
@@ -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() {