improved UX + improved performance
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user