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
+2 -4
View File
@@ -124,8 +124,7 @@ export default function Index() {
</p>
</div>
{activeCollection.subCollections &&
activeCollection.subCollections.length > 0 ? (
{collections.some((e) => e.parentId === activeCollection.id) ? (
<details className="mt-2 mb-2">
<summary className="text-sm cursor-pointer select-none">
View Sub-Collections
@@ -260,8 +259,7 @@ export default function Index() {
<p>{activeCollection?.description}</p>
) : undefined}
{/* {activeCollection?.subCollections &&
activeCollection?.subCollections.length > 0 ? (
{/* {collections.some((e) => e.parentId === activeCollection.id) ? (
<fieldset className="border rounded-md p-2 border-neutral-content">
<legend className="text-sm ml-2">Sub-Collections</legend>
<div className="flex gap-3">