After implementing the InfiniteScroll in Mosh’s React Part 2 Course, don’t forget to change the initial data in the useQuery hooks for useGenre.ts and usePlatform.ts to include the next variable, i.e.
I think Mosh forgot to mention this and it stumped me for about an hour );.