Skip to content

Commit 31b49da

Browse files
authored
Fix variable name
1 parent a5c158a commit 31b49da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Picker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ function Picker({
456456
return sortedItems;
457457

458458
const values = [];
459-
const normalizeText = (text) => label.normalize("NFD").replace(/[\u0300-\u036f]/g, "")
459+
const normalizeText = (text) => text.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
460460

461461
let results = sortedItems.filter(item => {
462462
const label = item[_schema.label].toLowerCase();

0 commit comments

Comments
 (0)