bug fixed

This commit is contained in:
daniel31x13
2024-02-06 07:46:57 -05:00
parent 6252b61b89
commit 392d98f090
6 changed files with 3 additions and 10 deletions
+1 -2
View File
@@ -55,8 +55,7 @@ const CollectionItem = ({
active: string;
collections: CollectionIncludingMembersAndLinkCount[];
}) => {
const hasChildren =
collection.subCollections && collection.subCollections.length > 0;
const hasChildren = collections.some((e) => e.parentId === collection.id);
const router = useRouter();