Skip to content

Commit

Permalink
kill focus on row delete
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Oct 17, 2023
1 parent 8a9d6fb commit b39f926
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Actions = ({
action: Action
ctaText: string
lastFocusedIndex?: number
onAdded: (index: number) => void
onAdded: (index?: number) => void
}) => {
const newEntry = {
name: "",
Expand Down Expand Up @@ -50,6 +50,7 @@ export const Actions = ({
(_: SchemaColumn, i: number) => i !== lastFocusedIndex,
),
)
onAdded(undefined)
}}
>
<DeleteBin2 size="18px" />
Expand Down

0 comments on commit b39f926

Please sign in to comment.