Fix more stuff, particularly event handlers

This commit is contained in:
Jon Staab
2025-02-03 17:21:46 -08:00
parent 8d3433b167
commit 24045a7e2a
150 changed files with 424 additions and 392 deletions
+2 -4
View File
@@ -1,6 +1,4 @@
<script lang="ts">
import {run} from "svelte/legacy"
import {page} from "$app/stores"
import Drawer from "@lib/components/Drawer.svelte"
import Dialog from "@lib/components/Dialog.svelte"
@@ -13,8 +11,8 @@
}
let modal: any = $state()
let hash = $derived($page.url.hash.slice(1))
let hashIsValid = $derived(Boolean($modals[hash]))
const hash = $derived($page.url.hash.slice(1))
const hashIsValid = $derived(Boolean($modals[hash]))
$effect(() => {
if ($modals[hash]) {