From 25fbfc3469ae8d8f69c35b0acafc48ce155c2a70 Mon Sep 17 00:00:00 2001 From: Emilio Schaedler Heinzmann Date: Sat, 11 Feb 2023 10:13:16 -0300 Subject: [PATCH] fix: :bug: get to be reviewed data from right procedure --- src/pages/decks/review/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/decks/review/index.tsx b/src/pages/decks/review/index.tsx index 74a7bbf..72aa906 100644 --- a/src/pages/decks/review/index.tsx +++ b/src/pages/decks/review/index.tsx @@ -17,7 +17,7 @@ const DecksToBeReviewed: WithAuthentication = () => { hasNextPage, fetchNextPage, isFetchingNextPage, - } = api.decks.getPublicDecks.useInfiniteQuery( + } = api.decks.toBeReviewed.useInfiniteQuery( {}, { getNextPageParam: lastPage => lastPage.nextCursor,