Finish svelte 5 migration

This commit is contained in:
Jon Staab
2025-02-03 19:28:29 -08:00
parent 24045a7e2a
commit a0e97d5e5b
38 changed files with 52 additions and 105 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
<script lang="ts">
import {run} from "svelte/legacy"
import {onMount} from "svelte"
import {page} from "$app/stores"
import {ago, MONTH} from "@welshman/lib"
@@ -44,7 +42,7 @@
}
// We have to watch this one, since on mobile the badge will be visible when active
run(() => {
$effect(() => {
if ($notifications.has($page.url.pathname)) {
setChecked($page.url.pathname)
}