minor fix

This commit is contained in:
daniel31x13
2024-03-05 12:11:40 -05:00
parent e59ab23b3d
commit 9bfba6037e
2 changed files with 37 additions and 37 deletions
+3 -4
View File
@@ -69,8 +69,6 @@ const CollectionListing = () => {
existingCollectionIds.includes(id)
);
console.log(existingCollectionIds);
// Add new collections that are not in account.collectionOrder and meet the specific conditions
collections.forEach((collection) => {
if (
@@ -226,10 +224,11 @@ const renderItem = (
return (
<div ref={provided.innerRef} {...provided.draggableProps} className="mb-1">
<div
className={`${currentPath === `/collections/${collection.id}`
className={`${
currentPath === `/collections/${collection.id}`
? "bg-primary/20 is-active"
: "hover:bg-neutral/20"
} duration-100 flex gap-1 items-center pr-2 pl-1 rounded-md`}
} duration-100 flex gap-1 items-center pr-2 pl-1 rounded-md`}
>
{Icon(item as ExtendedTreeItem, onExpand, onCollapse)}