feat: improve search results for profiles
This commit is contained in:
parent
25b465e62a
commit
34c8c06ce9
3 changed files with 23 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ import MentionList, { MentionListHandle, MentionListProps } from './MentionList'
|
|||
|
||||
const suggestion = {
|
||||
items: async ({ query }: { query: string }) => {
|
||||
return await client.searchNpubs(query, 20)
|
||||
return await client.searchNpubsFromCache(query, 20)
|
||||
},
|
||||
|
||||
render: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue