Split router out into its own library

This commit is contained in:
Jon Staab
2025-04-23 13:34:04 -07:00
parent 489a307a47
commit 2996e25359
42 changed files with 604 additions and 295 deletions
+3 -1
View File
@@ -30,5 +30,7 @@ export const displayProfileByPubkey = (pubkey: string | undefined) =>
export const deriveProfileDisplay = (pubkey: string | undefined, relays: string[] = []) =>
pubkey
? derived(deriveProfile(pubkey, relays), $profile => displayProfile($profile, displayPubkey(pubkey)))
? derived(deriveProfile(pubkey, relays), $profile =>
displayProfile($profile, displayPubkey(pubkey)),
)
: readable("")