From a956c62424299c362e3717d0dc2926d1794e86eb Mon Sep 17 00:00:00 2001 From: Janit Sharma <49781243+Janit07@users.noreply.github.com> Date: Fri, 7 Feb 2025 09:14:03 +0530 Subject: [PATCH] Update TodoList.jsx --- src/Components/TodoList.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Components/TodoList.jsx b/src/Components/TodoList.jsx index a3f8bffe..01aeebfc 100644 --- a/src/Components/TodoList.jsx +++ b/src/Components/TodoList.jsx @@ -2,7 +2,9 @@ import React, { useState } from 'react'; import './TodoList.css'; const TodoList = () => { - + const [todos,setTodos]=useState([]); + const [headingInput,setHeadingInput]=useState(''); + const [listInputs,setListInputs]=useState({}); return ( <>