That mean profileData.counts is undefined so you can’t access a key on an undefined type
github.com/manuelalonge/complex-ap... What do axios return here. If you setState and overrides everything make sure the backend response have the shape you want
I understood partly what you want to say, I am just not sure how to fix this. I am using MONGODB for the first time. Should I probably change the users section of the database?
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
That mean profileData.counts is undefined so you can’t access a key on an undefined type
github.com/manuelalonge/complex-ap... What do axios return here. If you setState and overrides everything make sure the backend response have the shape you want
I solved my issue, it was a stupid typo in the Main.js file, but thanks a lot for your support :)
I understood partly what you want to say, I am just not sure how to fix this. I am using MONGODB for the first time. Should I probably change the users section of the database?