@@ -27,8 +27,8 @@ export function VNewTodo() {
|
|||||||
<Flex direction="column" align="stretch" gap="2">
|
<Flex direction="column" align="stretch" gap="2">
|
||||||
<TextArea
|
<TextArea
|
||||||
value={todo.content}
|
value={todo.content}
|
||||||
onChange={e => setTodo(
|
onChange={e => setTodo(prev =>
|
||||||
Todo.Todo.make({ ...todo, content: e.target.value }, true)
|
Todo.Todo.make({ ...prev, content: e.target.value }, true)
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user