Add checked store and set data

This commit is contained in:
Jon Staab
2024-11-14 08:33:11 -08:00
parent 2d89c152b1
commit b296067e55
6 changed files with 35 additions and 4 deletions
+6
View File
@@ -1,6 +1,12 @@
<script lang="ts">
import {onMount} from "svelte"
import {page} from "$app/stores"
import Chat from "@app/components/Chat.svelte"
import {setChecked} from "@app/state"
onMount(() => {
setChecked($page.url.pathname)
})
</script>
<Chat id={$page.params.chat} />