Maybe get dialogs behaving properly

This commit is contained in:
Jon Staab
2024-10-15 15:52:30 -07:00
parent 4decb2f4d9
commit 9c300d40f6
22 changed files with 169 additions and 189 deletions
+1 -2
View File
@@ -11,7 +11,6 @@
import ModalFooter from "@lib/components/ModalFooter.svelte"
import {getPubkeyHints} from "@app/commands"
import {getEditorOptions, addFile, uploadFiles, getEditorTags} from "@lib/editor"
import {clearModal} from "@app/modal"
export let url
@@ -25,7 +24,7 @@
const event = createEvent(NOTE, {content: $editor.getText(), tags: getEditorTags($editor)})
publishThunk({event, relays: [url]})
clearModal()
history.back()
}
let editor: Readable<Editor>