We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5f65d1 commit f5926f5Copy full SHA for f5926f5
1 file changed
packages/ui-components/src/Common/Select/StatelessSelect/index.tsx
@@ -75,17 +75,15 @@ const StatelessSelect = <T extends string>({
75
aria-label={ariaLabel}
76
aria-disabled={disabled}
77
>
78
- <>
79
- {currentItem && (
80
- <span className={styles.selectedValue}>
81
- {currentItem.iconImage}
82
- <span>{currentItem.label}</span>
83
- </span>
84
- )}
85
- {currentItem || (
86
- <span className={styles.placeholder}>{placeholder}</span>
87
88
- </>
+ {currentItem && (
+ <span className={styles.selectedValue}>
+ {currentItem.iconImage}
+ <span>{currentItem.label}</span>
+ </span>
+ )}
+ {!currentItem && (
+ <span className={styles.placeholder}>{placeholder}</span>
89
<ChevronDownIcon className={styles.icon} />
90
</summary>
91
0 commit comments