From 8d61d1ecdaa21617641a35f9b4f9ede5ba712212 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 17 Jan 2024 12:27:43 +0700 Subject: [PATCH] fix missing vertical more icon thread setting --- web/containers/CardSidebar/index.tsx | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/web/containers/CardSidebar/index.tsx b/web/containers/CardSidebar/index.tsx index fb924672c..5cdfbfdbc 100644 --- a/web/containers/CardSidebar/index.tsx +++ b/web/containers/CardSidebar/index.tsx @@ -58,16 +58,19 @@ export default function CardSidebar({ > {title}
- {!asChild || - (hideMoreVerticalAction && ( -
setMore(!more)} - > - -
- ))} + {!asChild && ( + <> + {!hideMoreVerticalAction && ( +
setMore(!more)} + > + +
+ )} + + )}