From 220ac8ed89b380f26981d0a141cb33f1cfdaeb21 Mon Sep 17 00:00:00 2001 From: Pujan Date: Fri, 23 Feb 2024 18:15:30 +0530 Subject: [PATCH] prevent showing rightLabel --- src/components/MenuItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MenuItem.tsx b/src/components/MenuItem.tsx index 1c2a8a3197fe..f9ce70e851bc 100644 --- a/src/components/MenuItem.tsx +++ b/src/components/MenuItem.tsx @@ -609,7 +609,7 @@ function MenuItem( /> )} - {!!rightLabel && ( + {!title && !!rightLabel && ( {rightLabel}