Skip to content

Comments

Update edit-task.js#60

Open
prasanth7890 wants to merge 1 commit intojohn-smilga:mainfrom
prasanth7890:main
Open

Update edit-task.js#60
prasanth7890 wants to merge 1 commit intojohn-smilga:mainfrom
prasanth7890:main

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