I get this error message when I try to call onclick with conditional rendering. I have one functional component for a Task and based on the status, one of the functions should fire. enter image description here
I get this error message when I try to call onclick with conditional rendering. I have one functional component for a Task and based on the status, one of the functions should fire. enter image description here