Add notification badges

This commit is contained in:
Jon Staab
2024-11-14 10:53:13 -08:00
parent b296067e55
commit 14ad4ec785
21 changed files with 256 additions and 126 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
<script lang="ts">
import {onMount} from "svelte"
import {onDestroy} from "svelte"
import {page} from "$app/stores"
import Chat from "@app/components/Chat.svelte"
import {setChecked} from "@app/state"
import {setChecked} from "@app/notifications"
onMount(() => {
onDestroy(() => {
setChecked($page.url.pathname)
})
</script>