Fix bugs, add timehash

This commit is contained in:
Jon Staab
2025-02-05 10:47:56 -08:00
parent f0b2b7c8b3
commit 5909b593ab
7 changed files with 72 additions and 41 deletions
+1 -5
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import {onMount, onDestroy} from "svelte"
import {onMount} from "svelte"
import {writable} from "svelte/store"
import {isMobile, preventDefault} from "@lib/html"
import Icon from "@lib/components/Icon.svelte"
@@ -40,10 +40,6 @@
onMount(() => {
editor.chain().setContent(content).run()
})
onDestroy(() => {
editor.destroy()
})
</script>
<form class="relative z-feature flex gap-2 p-2" onsubmit={preventDefault(submit)}>