We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e9f075 commit 5fd08e1Copy full SHA for 5fd08e1
source/skins/simple/OptionsSkin.js
@@ -135,7 +135,7 @@ export const OptionsSkin = (props: Props) => {
135
const parts = typeof label === 'string' ? label.split(splitter) : label;
136
for (let i = 1; i < parts.length; i += 2) {
137
if (escapeRegExp(parts[i].toLowerCase()) === `${escapedSearchValue}`.toLowerCase())
138
- parts[i] = <em>{parts[i]}</em>;
+ parts[i] = <em key={i}>{parts[i]}</em>;
139
label = parts;
140
}
141
0 commit comments