fix: 🐛
This commit is contained in:
parent
ed2a21a51f
commit
b2f111a4e7
4 changed files with 19 additions and 4 deletions
|
|
@ -32,7 +32,9 @@ export const toOthersRelaySettings = (pubkey: string) => {
|
|||
const npub = nip19.npubEncode(pubkey)
|
||||
return `/users/${npub}/relays`
|
||||
}
|
||||
export const toRelaySettings = () => '/relay-settings'
|
||||
export const toRelaySettings = (tag?: 'mailbox' | 'relay-sets') => {
|
||||
return '/relay-settings' + (tag === 'relay-sets' ? '#relay-sets' : '')
|
||||
}
|
||||
export const toSettings = () => '/settings'
|
||||
export const toProfileEditor = () => '/profile-editor'
|
||||
export const toRelay = (url: string) => `/relays/${encodeURIComponent(url)}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue