Skip to content

Commit 33ad995

Browse files
committed
chore: fix lint issues
1 parent be74979 commit 33ad995

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/Pages/GlobalConfigurations/ClustersAndEnvironments/EnvironmentList.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ import {
1111
ERROR_STATUS_CODE,
1212
GenericSectionErrorState,
1313
Icon,
14-
noop,
1514
SortableTableHeaderCell,
1615
SortingOrder,
1716
stringComparatorBySortOrder,
1817
Tooltip,
1918
useAsync,
2019
} from '@devtron-labs/devtron-fe-common-lib'
2120

21+
import { importComponentFromFELibrary } from '@Components/common'
2222
import { namespaceListByClusterId } from '@Components/ResourceBrowser/ResourceBrowser.service'
2323
import { DeleteComponentsName } from '@Config/constantMessaging'
2424
import { URLS } from '@Config/routes'
@@ -39,10 +39,9 @@ import { ClusterEnvironmentDrawer } from './ClusterEnvironmentDrawer'
3939
import { ClusterEnvLoader, ClusterIconWithStatus } from './ClusterList.components'
4040
import { ADD_ENVIRONMENT_FORM_LOCAL_STORAGE_KEY } from './constants'
4141

42-
const isFELibAvailable = importComponentFromFELibrary('isFELibAvailable', null, 'function')
43-
4442
import './cluster.scss'
45-
import { importComponentFromFELibrary } from '@Components/common'
43+
44+
const isFELibAvailable = importComponentFromFELibrary('isFELibAvailable', null, 'function')
4645

4746
// This is a list of namespaces and environments mapped to a cluster
4847
const ClustersEnvironmentsList = ({

src/Pages/GlobalConfigurations/ClustersAndEnvironments/cluster.type.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,9 @@ export interface EnvironmentListProps {
373373

374374
export type DeleteEnvConfigType = Pick<EnvNamespaceRowType, 'envId' | 'clusterId'>
375375
export type EditEnvConfigType = Pick<EnvNamespaceRowType, 'envId' | 'clusterId'> & { isVirtualCluster: boolean }
376-
export interface ClusterEnvListProps extends Pick<EnvironmentListProps, 'filterConfig' | 'showUnmappedEnvs'>, Pick<Cluster, 'clusterId' | 'clusterName' | 'status' | 'isVirtualCluster'> {
376+
export interface ClusterEnvListProps
377+
extends Pick<EnvironmentListProps, 'filterConfig' | 'showUnmappedEnvs'>,
378+
Pick<Cluster, 'clusterId' | 'clusterName' | 'status' | 'isVirtualCluster'> {
377379
clusterType: string
378380
environments: Environment[]
379381
setDeleteEnvConfig: Dispatch<SetStateAction<DeleteEnvConfigType>>

0 commit comments

Comments
 (0)