Skip to content

Commit

Permalink
convert query to lowercase before performing search (#2770)
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok authored Feb 7, 2024
1 parent a070d40 commit f393dda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/state/queries/actor-autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function useActorAutocompleteFn() {

return React.useCallback(
async ({query, limit = 8}: {query: string; limit?: number}) => {
query = query.toLowerCase()
let res
if (query) {
try {
Expand Down

0 comments on commit f393dda

Please sign in to comment.