1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Linter fixes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-12-27 14:45:29 +03:00
parent dbc04a717f
commit 9aa3a4b5d2

View File

@ -18,7 +18,8 @@ import type { LensTheme } from "../../themes/lens-theme";
import { withInjectables } from "@ogre-tools/injectable-react";
import userStoreInjectable from "../../../common/user-store/user-store.injectable";
import activeThemeInjectable from "../../themes/active.injectable";
import getEditorHeightFromLinesCountInjectable, { MonacoEditorSize } from "./get-editor-height-from-lines-number.injectable";
import type { MonacoEditorSize } from "./get-editor-height-from-lines-number.injectable";
import getEditorHeightFromLinesCountInjectable from "./get-editor-height-from-lines-number.injectable";
export type MonacoEditorId = string;
@ -301,7 +302,7 @@ class NonInjectedMonacoEditor extends React.Component<MonacoEditorProps & Depend
const css: React.CSSProperties = {
...style,
height: setInitialHeight ? this.initialHeight : style?.height,
}
};
return (
<div