File tree 1 file changed +10
-2
lines changed
plugins/plugin-codeflare/src/components
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -262,10 +262,18 @@ export default class AskUI extends React.PureComponent<Props, State> {
262
262
// due to the filtering, or the lack of a prior choice
263
263
return [
264
264
...( suggested && ( ! filter || pattern . test ( suggested . message ) )
265
- ? [ < SelectGroup label = "Prior choice" > { this . _selectOptionForChoice ( suggested , true ) } </ SelectGroup > ]
265
+ ? [
266
+ < SelectGroup key = "prior" label = "Prior choice" >
267
+ { this . _selectOptionForChoice ( suggested , true ) }
268
+ </ SelectGroup > ,
269
+ ]
266
270
: [ ] ) ,
267
271
...( others . length > 0
268
- ? [ < SelectGroup label = { suggested ? "Other choices" : "Choices" } > { others } </ SelectGroup > ]
272
+ ? [
273
+ < SelectGroup key = "other" label = { suggested ? "Other choices" : "Choices" } >
274
+ { others }
275
+ </ SelectGroup > ,
276
+ ]
269
277
: [ ] ) ,
270
278
]
271
279
}
You can’t perform that action at this time.
0 commit comments