diff --git a/src/context/CollectionContext/CollectionContext.jsx b/src/context/CollectionContext/CollectionContext.jsx index d0be761..eb393c5 100644 --- a/src/context/CollectionContext/CollectionContext.jsx +++ b/src/context/CollectionContext/CollectionContext.jsx @@ -644,11 +644,11 @@ export const CollectionProvider = ({ children }) => { } }, [selectedCollection, setTotalPrice]); - useEffect(() => { - if (allCollections?.length === 0 || allCollections === undefined) { - fetchAndSetCollections(); - } - }, [allCollections, fetchAndSetCollections]); + // useEffect(() => { + // if (allCollections?.length === 0 || allCollections === undefined) { + // fetchAndSetCollections(); + // } + // }, [allCollections, fetchAndSetCollections]); useEffect(() => { if (selectedCollection === null || selectedCollection === undefined) {