fix: resolve user search returning no results
This commit is contained in:
parent
5107ce4b77
commit
63936589d8
2 changed files with 8 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ export function useSearchProfiles(search: string, limit: number) {
|
|||
existingPubkeys.add(profile.pubkey)
|
||||
profiles.push(profile)
|
||||
})
|
||||
setProfiles(profiles)
|
||||
setProfiles([...profiles])
|
||||
}
|
||||
} catch (err) {
|
||||
setError(err as Error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue