mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce some naming conventions (#4813)
This commit is contained in:
1 parent
dc6615f98f
commit
0b32775d40
197 files changed
+630
-634
No files matched your search
@@ -21,24 +21,24 @@ import { Select } from "../select";
|
||||
import { Checkbox } from "../checkbox";
|
||||
import { requestClearClusterAsDeleting, requestDeleteCluster, requestSetClusterAsDeleting } from "../../ipc";
|
||||
|
||||
type DialogState = {
|
||||
interface DialogState {
|
||||
isOpen: boolean;
|
||||
config?: KubeConfig;
|
||||
cluster?: Cluster;
|
||||
};
|
||||
}
|
||||
|
||||
const dialogState: DialogState = observable({
|
||||
isOpen: false,
|
||||
});
|
||||
|
||||
type Props = {};
|
||||
export interface DeleteClusterDialogProps {}
|
||||
|
||||
@observer
|
||||
export class DeleteClusterDialog extends React.Component {
|
||||
export class DeleteClusterDialog extends React.Component<DeleteClusterDialogProps> {
|
||||
@observable showContextSwitch = false;
|
||||
@observable newCurrentContext = "";
|
||||
|
||||
constructor(props: Props) {
|
||||
constructor(props: DeleteClusterDialogProps) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user