Updating Genre and Platform UseQuery Initial Data after Implementing Infinite Scroll

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 );.

I just realised that he resolves this error in the Creating Lookup Hooks section of the course lol, but I’ll leave this here just incase it stumps people earlier.