feat: 💨

This commit is contained in:
codytseng
2025-01-18 14:22:40 +08:00
parent b2f111a4e7
commit 1644a92615
4 changed files with 16 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ export const toOthersRelaySettings = (pubkey: string) => {
return `/users/${npub}/relays`
}
export const toRelaySettings = (tag?: 'mailbox' | 'relay-sets') => {
return '/relay-settings' + (tag === 'relay-sets' ? '#relay-sets' : '')
return '/relay-settings' + (tag ? '#' + tag : '')
}
export const toSettings = () => '/settings'
export const toProfileEditor = () => '/profile-editor'