migration additions -- part 6 (bugs hunting)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2021-04-21 14:48:40 +03:00
1 parent 46c699b26f
commit 9470ef9888
14 files changed
+38 -26

No files matched your search

@@ -1,8 +1,6 @@
import "./page-layout.scss";
import React from "react";
import { makeObservable } from "mobx";
import { observer } from "mobx-react";
import { autobind, cssNames, IClassName } from "../../utils";
import { navigation } from "../../navigation";
import { Icon } from "../icon";
@@ -24,15 +22,9 @@ const defaultProps: Partial<PageLayoutProps> = {
contentGaps: true,
};
@observer
export class PageLayout extends React.Component<PageLayoutProps> {
static defaultProps = defaultProps as object;
constructor(props: PageLayoutProps) {
super(props);
makeObservable(this);
}
@autobind()
back(evt?: React.MouseEvent | KeyboardEvent) {
if (this.props.back) {