fix: 🐛

This commit is contained in:
codytseng
2025-01-23 12:01:27 +08:00
parent 86468e75cb
commit b15ce2c153
5 changed files with 26 additions and 34 deletions

View File

@@ -23,7 +23,7 @@ export function useSearchProfiles(search: string, limit: number) {
setProfiles([])
try {
const profiles = await client.fetchProfiles(
searchableRelayUrls.length > 0 ? searchableRelayUrls : SEARCHABLE_RELAY_URLS,
searchableRelayUrls.concat(SEARCHABLE_RELAY_URLS).slice(0, 4),
{
search,
limit