Skip to content

Commit

Permalink
change TodoList input field class
Browse files Browse the repository at this point in the history
  • Loading branch information
olshum8 committed Oct 27, 2024
1 parent 3561680 commit 5458167
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/TodoList/TodoList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ export const TodoList: React.FC<Props> = ({
{editingTodoId === todo.id ? (
<input
ref={inputRef}
type="text"
data-cy="TodoTitleField"
className="todo__title-field"
value={newTodoTitle}
onChange={e => setNewTodoTitle(e.target.value)}
autoFocus
Expand Down

0 comments on commit 5458167

Please sign in to comment.