diff --git a/src/components/Todo/Todo.tsx b/src/components/Todo/Todo.tsx index 7bb43fc..b3f09ad 100644 --- a/src/components/Todo/Todo.tsx +++ b/src/components/Todo/Todo.tsx @@ -175,6 +175,7 @@ function TodoApp(props: TodoAppProps) { setFocus(focusIndex); }, []); + // Verified: Pressing Enter creates new rows correctly (Issue #24) const addItem = (item: TodoItem | TodoItem[], cursorLocation?: number | null | undefined, itemIndex?: number) => { const itemsCopy = [...items]; //if we're typing in the "Add Item" input...