feat: relay info
This commit is contained in:
parent
64a5573969
commit
76dd184c14
9 changed files with 163 additions and 45 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { useSecondaryPage } from '@/PageManager'
|
||||
import { toNoteList } from '@/lib/link'
|
||||
import { toRelay } from '@/lib/link'
|
||||
import { TEmbeddedRenderer } from './types'
|
||||
|
||||
export function EmbeddedWebsocketUrl({ url }: { url: string }) {
|
||||
|
|
@ -9,7 +9,7 @@ export function EmbeddedWebsocketUrl({ url }: { url: string }) {
|
|||
className="cursor-pointer px-1 text-highlight hover:bg-highlight/20"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
push(toNoteList({ relay: url }))
|
||||
push(toRelay(url))
|
||||
}}
|
||||
>
|
||||
[ {url} ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue