feat: force refresh of user relay list cache when viewing profile
This commit is contained in:
parent
2e4602e973
commit
44a9b6ee0e
4 changed files with 57 additions and 40 deletions
|
|
@ -22,7 +22,7 @@ export function useSearchProfiles(search: string, limit: number) {
|
|||
setIsFetching(true)
|
||||
setProfiles([])
|
||||
try {
|
||||
const profiles = await client.fetchProfiles(
|
||||
const profiles = await client.searchProfiles(
|
||||
searchableRelayUrls.concat(SEARCHABLE_RELAY_URLS).slice(0, 4),
|
||||
{
|
||||
search,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue