refactor: client service
This commit is contained in:
parent
5afbdd0aa4
commit
21f09426cf
8 changed files with 459 additions and 491 deletions
|
|
@ -8,7 +8,7 @@ import MentionList, { MentionListHandle, MentionListProps } from './MentionList'
|
|||
|
||||
const suggestion = {
|
||||
items: async ({ query }: { query: string }) => {
|
||||
return await client.searchNpubsFromCache(query, 20)
|
||||
return await client.searchNpubsFromLocal(query, 20)
|
||||
},
|
||||
|
||||
render: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue