Skip to content

Conversation

ahmod001
Copy link

Hi Shaif,

I've fixed a small bug in the todo app where clicking the "Add Task" button multiple times would create duplicate tasks. I've added a state variable to track whether or not the user has submitted the task, and disabled the button until the user submits the task.

I've tested the fix by reproducing the issue and verifying that it is no longer possible to create duplicate tasks.

Please review my changes and let me know if you have any questions or concerns.

Thanks,
Ahmod Hasan

@netlify
Copy link

netlify bot commented Oct 25, 2023

Deploy Preview for wc-react-todo-app failed.

Name Link
🔨 Latest commit c459521
🔍 Latest deploy log https://app.netlify.com/sites/wc-react-todo-app/deploys/65390128f9f1dc000864cf58

@ahmod001 ahmod001 closed this Oct 26, 2023
@ahmod001 ahmod001 reopened this Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant