Re-work space navigation #223

This commit is contained in:
Jon Staab
2025-10-06 11:23:19 -07:00
committed by hodlbod
parent b3533c285f
commit f9ac13ba11
68 changed files with 2807 additions and 884 deletions
+6 -1
View File
@@ -23,6 +23,7 @@
type Props = {
url: string
room?: string
header: Snippet
initialValues?: {
d: string
@@ -34,7 +35,7 @@
}
}
const {url, header, initialValues}: Props = $props()
const {url, room, header, initialValues}: Props = $props()
const shouldProtect = canEnforceNip70(url)
@@ -84,6 +85,10 @@
tags.push(PROTECTED)
}
if (room) {
tags.push(["h", room])
}
const event = makeEvent(EVENT_TIME, {content, tags})
pushToast({message: "Your event has been saved!"})