diff --git a/package-lock.json b/package-lock.json index 8471212..cbecf37 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7488,7 +7488,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001576", + "version": "1.0.30001641", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001641.tgz", + "integrity": "sha512-Phv5thgl67bHYo1TtMY/MurjkHhV4EDaCosezRXgZ8jzA/Ub+wjxAvbGvjoFENStinwi5kCyOYV3mi5tOGykwA==", "funding": [ { "type": "opencollective", @@ -7502,8 +7504,7 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ], - "license": "CC-BY-4.0" + ] }, "node_modules/cardinal": { "version": "2.1.1", diff --git a/src/utils/firebase.ts b/src/utils/firebase.ts index 21274c5..983669a 100644 --- a/src/utils/firebase.ts +++ b/src/utils/firebase.ts @@ -9,7 +9,6 @@ import { collection, onSnapshot, query, - limit, orderBy, } from 'firebase/firestore'; import { @@ -129,11 +128,7 @@ export const usePublicationsCollection = () => { useEffect(() => { const unsubscribe = onSnapshot( - query( - collection(db, publicationsCollection), - orderBy('updatedAt', 'desc'), - limit(100) // TODO: TEMPORARY. Limiting right now. Set up pagination? - ), + query(collection(db, publicationsCollection), orderBy('updatedAt', 'desc')), (snapshot) => { const publications = snapshot.docs.map((doc) => doc.data()); dispatch(setPublications(publications));