convert query to lowercase before performing search (#2770)
parent
a070d40990
commit
f393dda528
|
@ -61,6 +61,7 @@ export function useActorAutocompleteFn() {
|
||||||
|
|
||||||
return React.useCallback(
|
return React.useCallback(
|
||||||
async ({query, limit = 8}: {query: string; limit?: number}) => {
|
async ({query, limit = 8}: {query: string; limit?: number}) => {
|
||||||
|
query = query.toLowerCase()
|
||||||
let res
|
let res
|
||||||
if (query) {
|
if (query) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue