diff --git a/components/CollectionListing.tsx b/components/CollectionListing.tsx index eb43386..171117b 100644 --- a/components/CollectionListing.tsx +++ b/components/CollectionListing.tsx @@ -47,7 +47,10 @@ const CollectionListing = () => { useEffect(() => { if (account.username) { - if (!account.collectionOrder || account.collectionOrder.length === 0) + if ( + (!account.collectionOrder || account.collectionOrder.length === 0) && + collections.length > 0 + ) updateAccount({ ...account, collectionOrder: collections diff --git a/components/FilterSearchDropdown.tsx b/components/FilterSearchDropdown.tsx index 57a0ea4..01b8906 100644 --- a/components/FilterSearchDropdown.tsx +++ b/components/FilterSearchDropdown.tsx @@ -26,7 +26,7 @@ export default function FilterSearchDropdown({ > -