Skip to content

Commit

Permalink
fix: remove limit
Browse files Browse the repository at this point in the history
  • Loading branch information
eldu committed Jul 11, 2024
1 parent d4a672c commit a3d1dcd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ export const usePublicationsCollection = () => {
const unsubscribe = onSnapshot(
query(
collection(db, publicationsCollection),
orderBy('updatedAt', 'desc'),
limit(100) // TODO: TEMPORARY. Limiting right now. Set up pagination?
orderBy('updatedAt', 'desc')
),
(snapshot) => {
const publications = snapshot.docs.map((doc) => doc.data());
Expand Down

0 comments on commit a3d1dcd

Please sign in to comment.