ErickLimaS / anime-website

AniProject: Watch Animes, Read Mangas and make Comments on this website made with Next.js, TypeScript, Firebase, Anilist, Consumet and Aniwatch API. AD FREE.
https://aniproject-dev.vercel.app/
Other
93 stars 29 forks source link

[Bug]: "bug on Home Page". #66

Open skgupta507 opened 3 weeks ago

skgupta507 commented 3 weeks ago

hey @ErickLimaS i have encountered a bug n thought to let u know. On the Homepage after Logging in the Latest Releases and the Show Me Something New & Best Rated Mangas it shows nothing [empty]. can u look into it and fix the bug. iam attaching the screenshot of the same.

Latest realeses image

All time favorites & Show Something New image

Best rated MAnga image

can u check these and fix them. it happens both on the main site & my hosted site also.

ErickLimaS commented 3 weeks ago

oh, this used to happen on localhost due to the request limit on the Anilist API has.

When you reload the page many times, it for sure will happen. I dont really know about it when hosted, at least with me it never happened on Vercel or Netlify.

I'll try to look on it later, but if you want, you could try to add some code to save the data on Local Storage and put a limit expire date to 1 day, so when the time comes, it fetchs the new data and store on Local again.

If you could do that, make a Pull Request and i put you in the Readme Contributors section or something like that to give you the credits.