Skip to content

Commit fe08f29

Browse files
committed
FE: Try to fix e2e lint 2
1 parent 891ce4a commit fe08f29

File tree

1 file changed

+9
-9
lines changed
  • frontend/src/components/Connect/List

1 file changed

+9
-9
lines changed

frontend/src/components/Connect/List/List.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import useAppParams from 'lib/hooks/useAppParams';
33
import { clusterConnectConnectorPath, ClusterNameRoute } from 'lib/paths';
4-
import Table, { TagCell } from 'components/common/NewTable';
4+
import Table, { LinkCell, TagCell } from 'components/common/NewTable';
55
import { FullConnectorInfo } from 'generated-sources';
66
import { useConnectors } from 'lib/hooks/api/kafkaConnect';
77
import { ColumnDef } from '@tanstack/react-table';
@@ -18,14 +18,14 @@ const kafkaConnectColumns: ColumnDef<FullConnectorInfo>[] = [
1818
{
1919
header: 'Name',
2020
accessorKey: 'name',
21-
cell: BreakableTextCell,
22-
// cell: ({ getValue }) => (
23-
// <LinkCell
24-
// wordBreak
25-
// value={`${getValue<string | number>()}`}
26-
// to={encodeURIComponent(`${getValue<string | number>()}`)}
27-
// />
28-
// ),
21+
// cell: BreakableTextCell,
22+
cell: ({ getValue }) => (
23+
<LinkCell
24+
wordBreak
25+
value={`${getValue<string | number>()}`}
26+
to={encodeURIComponent(`${getValue<string | number>()}`)}
27+
/>
28+
),
2929
enableResizing: true,
3030
},
3131
{

0 commit comments

Comments
 (0)