Closed ghost closed 1 year ago
https://github.com/chinmay021/fooodvilla/blob/main/src/components/Body.js refer to getRestaurant function of this file
i downloaded your code and tried to run the same,still its not working,there is no error in the console,but body is not displaying after the api calls,i have tried akshay saini bhaiyas code too by cloning the repo to my machine,same result,i think its an issue with the api now,can you pls check chapter6 part of the foodvilla app,header and footer is displaying but body is early returning and if i dont write early return its throwing some ugly 'undefined map ' error.
git clone the repository. then npm install then do ntl dev
try running this way
closing this issue as it is resolved
can you help me regarding this.