Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
reedoooo committed Nov 25, 2023
1 parent 79f8af0 commit b9b9cff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/context/CollectionContext/CollectionContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b9b9cff

Please sign in to comment.