From 2f466d4fbb3a8eb6e13511772b4ca491b205b259 Mon Sep 17 00:00:00 2001 From: Andre H Date: Wed, 28 Feb 2024 23:07:31 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20remove=20dot=20when=20d?= =?UTF-8?q?escription=20dont=20exist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/shared/Select/SelectItem/SelectItem.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/frontend/src/components/shared/Select/SelectItem/SelectItem.tsx b/packages/frontend/src/components/shared/Select/SelectItem/SelectItem.tsx index a6bbc487..060be52a 100644 --- a/packages/frontend/src/components/shared/Select/SelectItem/SelectItem.tsx +++ b/packages/frontend/src/components/shared/Select/SelectItem/SelectItem.tsx @@ -62,11 +62,13 @@ const SelectItem = forwardRef(

{label}

- {orientation === 'horizontal' && } {description && ( -

- {description} -

+ <> + {orientation === 'horizontal' && } +

+ {description} +

+ )} {renderRightIcon}