When I view the main posts page(http://localhost:8080/) in my browser, under "Latest Posts" there is a just a pink box that says "data is undefined". But, I get no errors in either the front end or back end terminals. I did have to re-write the getPosts function becuase the front end server wouldnt run becuase axios didnt like async.
When I view the main posts page(http://localhost:8080/) in my browser, under "Latest Posts" there is a just a pink box that says "data is undefined". But, I get no errors in either the front end or back end terminals. I did have to re-write the getPosts function becuase the front end server wouldnt run becuase axios didnt like async.