Skip to content

Commit f981de3

Browse files
committed
patch
1 parent 2f08c8b commit f981de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/src/react/hooks/usePagesOrInfinite.rq.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const usePagesOrInfinite: UsePagesOrInfiniteSignature = params => {
123123
predicate: query => {
124124
const key = query.queryKey;
125125
// Clear all queries that are marked as authenticated
126-
return Array.isArray(key) && key[2] === true;
126+
return Array.isArray(key) && key[1] === true;
127127
},
128128
});
129129

0 commit comments

Comments
 (0)