Commit 08ad1f9c by Sujeeth AV

Index.jsx

parent f6b189c6
......@@ -42,7 +42,7 @@ const List = ({
) : (
<span
className={`${styles.task} ${item.completed ? styles.completed : ''}`}
onClick={() => startEdit(index)}
onClick={(e) => startEdit(index,e)}
>
{typeof item.task === 'string'
? item.task
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment