diff --git a/ui/app/mirrors/create/cdc/schemabox.tsx b/ui/app/mirrors/create/cdc/schemabox.tsx index e205f33ab5..4195fae83d 100644 --- a/ui/app/mirrors/create/cdc/schemabox.tsx +++ b/ui/app/mirrors/create/cdc/schemabox.tsx @@ -182,10 +182,10 @@ const SchemaBox = ({ row.schema === schema && row.source.toLowerCase().includes(tableQuery.toLowerCase()) ) - .map((row, index) => { + .map((row) => { const columns = getTableColumns(row.source); return ( -
+
{columns ? ( - columns.map((column, index) => { + columns.map((column) => { const columnName = column.split(':')[0]; const columnType = column.split(':')[1]; const isPkey = column.split(':')[2] === 'true'; return ( - {columnName}{' '} + {columnName}

{ return schema.toLowerCase().includes(schemaQuery.toLowerCase()); }) - .map((schema, index) => ( + .map((schema) => (