chetannada / Namaste-React

❤ Namaste React Live Course from Zero to Hero 🚀 by Akshay Saini(Founder of NamasteDev). This repository for Assignment & Class Notes taken during Namaste React Live Course #namaste #javascript #react
https://foodfire-app.netlify.app/
1.93k stars 1.02k forks source link

Website landing page always on loading stage. #23

Closed s-soumyakanta closed 1 year ago

s-soumyakanta commented 1 year ago

Today I visited your app FoodFire for second time. The website always on skeleton ui loading stage.

s-soumyakanta commented 1 year ago

Sorry for misconception. As far It's not the FoodFire project repository. Not a right place for raising this issue.

chetannada commented 1 year ago

Hi, @s-soumyakanta I have fixed the issue, Now FoodFire working Properly. Thanks for creating issue.

chetannada commented 1 year ago

I have fixed the issue #23 so I close this issue for now.

s-soumyakanta commented 1 year ago

Happy to see this fix :) Great UI !

image

chetannada commented 1 year ago

Thank you so much @s-soumyakanta

shreyansh1410 commented 1 year ago

Hey @chetannada, my restaurant menu page is always stuck on skeleton ui unless I open the dev tools and reload it (I'm on chapter 7)

shreyansh1410 commented 1 year ago

Hey, it just got resolved when I changed mapi to dapi in the constant swiggy_menu_api_url, any reason why this happened?

shreyansh1410 commented 1 year ago

also, is there any way you could summarize how you fixed the API issue? It would help me to understand what you did.

chetannada commented 1 year ago

Hey, it just got resolved when I changed mapi to dapi in the constant swiggy_menu_api_url, any reason why this happened?

Well, from the starting it's url contain dapi only.

also, is there any way you could summarize how you fixed the API issue? It would help noobs like me to understand what you did.

I solved the API issue by adding checkJsonData function that you can find in useResData.js file