From f41f3318200679b291ae979dfde6a860c624b7d0 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Tue, 7 Nov 2023 03:34:01 -0500 Subject: [PATCH] fix add row --- ui/app/mirrors/create/tablemapping.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/mirrors/create/tablemapping.tsx b/ui/app/mirrors/create/tablemapping.tsx index b4da59e78f..565435ee0b 100644 --- a/ui/app/mirrors/create/tablemapping.tsx +++ b/ui/app/mirrors/create/tablemapping.tsx @@ -43,6 +43,7 @@ const TableMapping = ({ const newRows = [...rows]; const index = newRows.findIndex((row) => row.source === source); if (index >= 0) newRows[index].selected = true; + setRows(newRows); }; const handleRemoveRow = (source: string) => {