Skip to content

Commit c7b7b72

Browse files
Leshe4kaLeshe4ka
andauthored
Connector topics bugfix (#1455)
Co-authored-by: Leshe4ka <[email protected]>
1 parent fb1a1fa commit c7b7b72

File tree

1 file changed

+1
-3
lines changed
  • frontend/src/components/Connect/Details/Topics

1 file changed

+1
-3
lines changed

frontend/src/components/Connect/Details/Topics/Topics.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ const columns: ColumnDef<{ topicName: string }>[] = [
1818
const Topics = () => {
1919
const routerProps = useAppParams<RouterParamsClusterConnectConnector>();
2020

21-
const { data: raw } = useConnector(routerProps);
22-
23-
const connector = { ...raw, topics: ['wikimedia.recentchange.connect'] };
21+
const { data: connector } = useConnector(routerProps);
2422

2523
const tableData = (connector?.topics ?? []).map((topicName) => ({
2624
topicName,

0 commit comments

Comments
 (0)