I have a bound function in a component which I pass to a const. The checkbox clicks correctly once but then it stops working. What am I doing wrong?
The toggleTodoOnP