Skip to content

Commit

Permalink
Fix: use parent_platforms as query param in useGames.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KavetiRohith committed Sep 14, 2023
1 parent 2502b35 commit ffb0d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useGames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const useGames = (gameQuery: GameQuery) => {
{
params: {
genres: gameQuery.genre?.id,
platforms: gameQuery.platform?.id,
parent_platforms: gameQuery.platform?.id,
ordering: gameQuery.sortOrder,
search: gameQuery.searchQuery,
page: gameQuery.page,
Expand Down

0 comments on commit ffb0d5a

Please sign in to comment.