diff --git a/packages/web-console/src/components/TableSchemaDialog/actions.tsx b/packages/web-console/src/components/TableSchemaDialog/actions.tsx index 3e0ef2e3e..9a92a99bd 100644 --- a/packages/web-console/src/components/TableSchemaDialog/actions.tsx +++ b/packages/web-console/src/components/TableSchemaDialog/actions.tsx @@ -18,7 +18,7 @@ export const Actions = ({ action: Action ctaText: string lastFocusedIndex?: number - onAdded: (index: number) => void + onAdded: (index?: number) => void }) => { const newEntry = { name: "", @@ -50,6 +50,7 @@ export const Actions = ({ (_: SchemaColumn, i: number) => i !== lastFocusedIndex, ), ) + onAdded(undefined) }} >