fix reordering

This commit is contained in:
Isaac Wise 2024-02-22 02:27:14 -06:00
parent 7fd9f5b806
commit dbfdb587b6

View File

@ -186,7 +186,8 @@ const CollectionItem = ({
)}
</>
) : (
<Link ref={innerRef} {...props} href={`/collections/${collection.id}`} className="w-full">
<div ref={innerRef} {...props}>
<Link href={`/collections/${collection.id}`} className="w-full">
<div
className={`${active === `/collections/${collection.id}`
? "bg-primary/20"
@ -210,5 +211,6 @@ const CollectionItem = ({
</div>
</div>
</Link>
</div>
);
};