mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
remove uses of cssNames()
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
598e972d83
commit
f15ee25a79
@ -6,7 +6,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import type { NodeStore } from "../+nodes/store";
|
import type { NodeStore } from "../+nodes/store";
|
||||||
import { cssNames } from "../../utils";
|
|
||||||
import { Radio, RadioGroup } from "../radio";
|
import { Radio, RadioGroup } from "../radio";
|
||||||
import type { ClusterOverviewStore } from "./cluster-overview-store/cluster-overview-store";
|
import type { ClusterOverviewStore } from "./cluster-overview-store/cluster-overview-store";
|
||||||
import { MetricNodeRole, MetricType } from "./cluster-overview-store/cluster-overview-store";
|
import { MetricNodeRole, MetricType } from "./cluster-overview-store/cluster-overview-store";
|
||||||
@ -36,7 +35,7 @@ const NonInjectedClusterMetricSwitchers = observer(({
|
|||||||
<div className="box grow">
|
<div className="box grow">
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
asButtons
|
asButtons
|
||||||
className={cssNames("RadioGroup flex gaps")}
|
className="RadioGroup flex gaps"
|
||||||
value={clusterOverviewStore.metricNodeRole}
|
value={clusterOverviewStore.metricNodeRole}
|
||||||
onChange={metric => clusterOverviewStore.metricNodeRole = metric}
|
onChange={metric => clusterOverviewStore.metricNodeRole = metric}
|
||||||
>
|
>
|
||||||
@ -55,7 +54,7 @@ const NonInjectedClusterMetricSwitchers = observer(({
|
|||||||
<div className="box grow" style={{ textAlign: "right" }}>
|
<div className="box grow" style={{ textAlign: "right" }}>
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
asButtons
|
asButtons
|
||||||
className={cssNames("RadioGroup flex gaps")}
|
className="RadioGroup flex gaps"
|
||||||
value={clusterOverviewStore.metricType}
|
value={clusterOverviewStore.metricType}
|
||||||
onChange={value => clusterOverviewStore.metricType = value}
|
onChange={value => clusterOverviewStore.metricType = value}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user