File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
frontend/src/components/Brokers/Broker/Configs
TableComponents/InputCell Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- import React , { type FC , useContext } from 'react' ;
1+ import React , { type FC } from 'react' ;
22import { Button } from 'components/common/Button/Button' ;
33import EditIcon from 'components/common/Icons/EditIcon' ;
44import type { ConfigUnit } from 'components/Brokers/Broker/Configs/lib/types' ;
55import Tooltip from 'components/common/Tooltip/Tooltip' ;
66import { getConfigDisplayValue } from 'components/Brokers/Broker/Configs/lib/utils' ;
7- import ClusterContext from 'components/contexts/ClusterContext' ;
87
98import * as S from './styled' ;
109
Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ import {
88} from 'components/Brokers/Broker/Configs/lib/types' ;
99import { getConfigUnit } from 'components/Brokers/Broker/Configs/lib/utils' ;
1010
11+ import ClusterContext from 'components/contexts/ClusterContext' ;
12+
1113import InputCellViewMode from './InputCellViewMode' ;
1214import InputCellEditMode from './InputCellEditMode' ;
13- import ClusterContext from 'components/contexts/ClusterContext' ;
1415
1516export interface InputCellProps
1617 extends CellContext < BrokerConfigsTableRow , BrokerConfig [ 'value' ] > {
Original file line number Diff line number Diff line change 1- import React , { useContext } from 'react' ;
1+ import React from 'react' ;
22import { type BrokerConfig , ConfigSource } from 'generated-sources' ;
33import { createColumnHelper } from '@tanstack/react-table' ;
44import * as BrokerConfigTableComponents from 'components/Brokers/Broker/Configs/TableComponents/index' ;
@@ -9,8 +9,8 @@ import type {
99 ConfigUnit ,
1010 UpdateBrokerConfigCallback ,
1111} from './types' ;
12+
1213import { CONFIG_SOURCE_NAME_MAP , CONFIG_SOURCE_PRIORITY } from './constants' ;
13- import ClusterContext from 'components/contexts/ClusterContext' ;
1414
1515const getConfigFieldMatch = ( field : string , query : string ) =>
1616 field . toLocaleLowerCase ( ) . includes ( query . toLocaleLowerCase ( ) ) ;
You can’t perform that action at this time.
0 commit comments