Move router into app, and out of util

This commit is contained in:
Jon Staab
2024-09-03 13:31:13 -07:00
parent 7b2233f8db
commit 6ee79eb219
12 changed files with 456 additions and 136 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ export const profileSearch = derived(profiles, $profiles =>
}),
)
export const displayProfileByPubkey = (pubkey: string) =>
export const displayProfileByPubkey = (pubkey = "") =>
displayProfile(profilesByPubkey.get().get(pubkey), displayPubkey(pubkey))
export const deriveProfileDisplay = (pubkey: string) =>
export const deriveProfileDisplay = (pubkey = "") =>
derived(deriveProfile(pubkey), $profile => displayProfile($profile, displayPubkey(pubkey)))