Skip to content

Commit b2d3eed

Browse files
committed
fix collection search bug
1 parent 3cc65b9 commit b2d3eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/useSearch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const useSearch = (query: string) => {
1919
fetchPolicy: 'no-cache',
2020
variables: {
2121
where: {
22-
token: query,
22+
or: [{token: query}, {token: query.toLowerCase()}]
2323
},
2424
first: 1,
2525
},

0 commit comments

Comments
 (0)