Skip to content

Commit

Permalink
fix: 🐛 get to be reviewed data from right procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliosheinz committed Feb 11, 2023
1 parent aea2130 commit 25fbfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/decks/review/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const DecksToBeReviewed: WithAuthentication<NextPage> = () => {
hasNextPage,
fetchNextPage,
isFetchingNextPage,
} = api.decks.getPublicDecks.useInfiniteQuery(
} = api.decks.toBeReviewed.useInfiniteQuery(
{},
{
getNextPageParam: lastPage => lastPage.nextCursor,
Expand Down

0 comments on commit 25fbfc3

Please sign in to comment.