bug fixed

This commit is contained in:
daniel31x13
2023-11-24 13:28:47 -05:00
parent 87196b1190
commit 676c7c3a5d
4 changed files with 47 additions and 5 deletions
+5 -2
View File
@@ -185,8 +185,11 @@ export default function PublicCollections() {
) : null}
<p className="ml-2 mt-1 text-gray-500 dark:text-gray-300">
By {collectionOwner.name} and {collection.members.length}{" "}
others.
By {collectionOwner.name}
{collection.members.length > 0
? ` and ${collection.members.length} others`
: undefined}
.
</p>
</div>
</div>