Changing the autocomplete search to accept text without accents to ma… #2
Annotations
1 error and 4 warnings
lint
Process completed with exit code 1.
|
lint:
packages/desktop-client/src/components/autocomplete/Autocomplete.tsx#L95
Replace `.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu,·""` with `⏎····.toLowerCase()⏎····.normalize('NFD')⏎····.replace(/\p{Diacritic}/gu,·''`
|
|
lint:
packages/desktop-client/src/components/autocomplete/Autocomplete.tsx#L97
Replace `························value.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu,·"")` with `······value⏎········.toLowerCase()⏎········.normalize('NFD')⏎········.replace(/\p{Diacritic}/gu,·''),`
|
lint:
packages/desktop-client/src/components/autocomplete/Autocomplete.tsx#L98
Delete `·················`
|