migration additions -- part 3 (adding makeObservable to constructor)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2021-04-20 13:45:35 +03:00
1 parent 95794af5b2
commit 08787dce1f
139 files changed
+732 -147

No files matched your search

@@ -1,7 +1,7 @@
import "./config-map-details.scss";
import React from "react";
import { observable, reaction } from "mobx";
import { observable, reaction, makeObservable } from "mobx";
import { disposeOnUnmount, observer } from "mobx-react";
import { DrawerTitle } from "../drawer";
import { Notifications } from "../notifications";
@@ -45,6 +45,11 @@ export class ConfigMapDetails extends React.Component<Props> {
}
};
constructor(props: Props) {
super(props);
makeObservable(this);
}
render() {
const { object: configMap } = this.props;