File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -205,16 +205,14 @@ export const autocompleteMultiselect = <Value>(opts: AutocompleteMultiSelectOpti
205205 option . hint && focusedValue !== undefined && option . value === focusedValue
206206 ? color . dim ( ` (${ option . hint } )` )
207207 : '' ;
208- const checkbox = isSelected
209- ? color . green ( S_CHECKBOX_SELECTED )
210- : color . dim ( S_CHECKBOX_INACTIVE ) ;
208+ const checkbox = isSelected ? color . green ( S_CHECKBOX_SELECTED ) : color . dim ( S_CHECKBOX_INACTIVE ) ;
211209
212210 if ( active ) {
213211 return `${ checkbox } ${ label } ${ hint } ` ;
214212 }
215213 return `${ checkbox } ${ color . dim ( label ) } ` ;
216214 } ;
217-
215+
218216 // Create text prompt which we'll use as foundation
219217 const prompt = new AutocompletePrompt < Option < Value > > ( {
220218 options : opts . options ,
You can’t perform that action at this time.
0 commit comments