mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
migration additions -- part 6 (bugs hunting)
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user