Cannot read properties of undefined (reading 'data') on my React WP RestFul Api – WordPress
My code was working fine until i added a new blog post and I got this error on my console making my React Application goes blank. after looking around, I was unable to fix the issue. bellow is my code:…