From 0e42748bb6ea832b085a2683d77e349c08798fc0 Mon Sep 17 00:00:00 2001 From: Saumya Pandey Date: Mon, 14 Feb 2022 01:28:39 +0530 Subject: [PATCH] fix: collectionIcon expanded props is no longer driven by expanded state --- app/components/Sidebar/components/CollectionLink.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/components/Sidebar/components/CollectionLink.tsx b/app/components/Sidebar/components/CollectionLink.tsx index d476f1106d..5cad5dc1a0 100644 --- a/app/components/Sidebar/components/CollectionLink.tsx +++ b/app/components/Sidebar/components/CollectionLink.tsx @@ -33,6 +33,8 @@ type Props = { belowCollection: Collection | void; }; +// highliight if active and document collapsed with more transperancy + function CollectionLink({ collection, activeDocument, @@ -252,7 +254,10 @@ function CollectionLink({ setExpanded((prev) => !prev); }} /> - + } showActions={menuOpen}