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
@@ -20,17 +20,17 @@ import type { KubeAuthUpdate } from "../../../common/cluster-types";
|
||||
import { catalogEntityRegistry } from "../../api/catalog-entity-registry";
|
||||
import { requestClusterActivation } from "../../ipc";
|
||||
|
||||
interface Props {
|
||||
export interface ClusterStatusProps {
|
||||
className?: IClassName;
|
||||
cluster: Cluster;
|
||||
}
|
||||
|
||||
@observer
|
||||
export class ClusterStatus extends React.Component<Props> {
|
||||
export class ClusterStatus extends React.Component<ClusterStatusProps> {
|
||||
@observable authOutput: KubeAuthUpdate[] = [];
|
||||
@observable isReconnecting = false;
|
||||
|
||||
constructor(props: Props) {
|
||||
constructor(props: ClusterStatusProps) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
}
|
||||
|
||||
@@ -17,14 +17,14 @@ import { navigate } from "../../navigation";
|
||||
import { catalogURL, ClusterViewRouteParams } from "../../../common/routes";
|
||||
import { requestClusterActivation } from "../../ipc";
|
||||
|
||||
interface Props extends RouteComponentProps<ClusterViewRouteParams> {
|
||||
export interface ClusterViewProps extends RouteComponentProps<ClusterViewRouteParams> {
|
||||
}
|
||||
|
||||
@observer
|
||||
export class ClusterView extends React.Component<Props> {
|
||||
export class ClusterView extends React.Component<ClusterViewProps> {
|
||||
private store = ClusterStore.getInstance();
|
||||
|
||||
constructor(props: Props) {
|
||||
constructor(props: ClusterViewProps) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user