forked from Kieran/zap.stream
fix: use findTag
This commit is contained in:
parent
c733c4066a
commit
9747b71f8a
@ -69,8 +69,7 @@ export function ProfilePage() {
|
||||
|
||||
function goToLive() {
|
||||
if (liveEvent) {
|
||||
const d =
|
||||
liveEvent.tags?.find((t: string[]) => t?.at(0) === "d")?.at(1) || "";
|
||||
const d = findTag(liveEvent, "d") || "";
|
||||
const naddr = encodeTLV(
|
||||
NostrPrefix.Address,
|
||||
d,
|
||||
|
Loading…
Reference in New Issue
Block a user