improved collection page

This commit is contained in:
daniel31x13
2024-02-06 07:44:08 -05:00
parent 00bfdfb926
commit 6252b61b89
4 changed files with 94 additions and 14 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export default function Collections() {
<div className="grid min-[1900px]:grid-cols-4 2xl:grid-cols-3 sm:grid-cols-2 grid-cols-1 gap-5">
{sortedCollections
.filter((e) => e.ownerId === data?.user.id)
.filter((e) => e.ownerId === data?.user.id && e.parentId === null)
.map((e, i) => {
return <CollectionCard key={i} collection={e} />;
})}