File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ const Item = (
115115
116116 return (
117117 < SelectableItem
118- disableContentStyling = { ! ! renderOption }
118+ disableContentStyling = { ! ! renderResult }
119119 ariaSelected = { Boolean ( selected ) }
120120 selected = { selected }
121121 isNextSelected = { isNextSelected }
@@ -143,16 +143,14 @@ const Item = (
143143 < CheckboxIcon checked = { selected || false } disabled = { option . disabled } />
144144 </ div >
145145 ) }
146- {
147- < Option
148- customContent = { renderResult }
149- option = { { ...wrappedOption , disabled } }
150- highlightedOption = { highlighted }
151- selectedOption = { selected }
152- highlightText = { filteringValue }
153- isGroupOption = { isParent }
154- />
155- }
146+ < Option
147+ customContent = { renderResult }
148+ option = { { ...wrappedOption , disabled } }
149+ highlightedOption = { highlighted }
150+ selectedOption = { selected }
151+ highlightText = { filteringValue }
152+ isGroupOption = { isParent }
153+ />
156154 { ! renderResult && ! hasCheckbox && ! isParent && selected && (
157155 < div className = { styles [ 'selected-icon' ] } >
158156 < InternalIcon name = "check" />
You can’t perform that action at this time.
0 commit comments