Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update edit-task.js #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

prasanth7890
Copy link

The issue TypeError: 'Task' is not found - is resolved. Because there is no object inside the 'data' object and we are trying to access it.The required object is not inside the 'data' but the data itself. so i modified the code a lil bit to make it work.

// Im a student and beginner learning from your resources from youtube, i just completed making task manager app but when im testing all CRUD operations, in edit page i don't know why the opened Task's data is not showing. so after 30min of digging up and printing every variable in console, testing apis, installing axios(didnt heared about it till today) then i found it. I'm not thinking that i solved a mumbojumbo problem but beginners like me may loose the ineterest and might scared of frontend. Thank YOU JOHN.

The issue TypeError: 'Task' is not found - is resolved. Because there is no object inside the 'data' object and we are trying to access it. so the required object is not inside the 'data' but the data itself.
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