fix: invalid dates

This commit is contained in:
Xyphyn committed 2023-10-03 16:07:40 -07:00
1 parent facb1081c9
commit 0d08df2ad5
7 files changed
+23 -19

No files matched your search

@@ -0,0 +1,7 @@
<script lang="ts">
import { routes } from '$lib/util.js'
export let route: { id: string } | undefined = undefined
$: title = route ? routes[(route.id as keyof typeof routes) ?? ''] : ''
</script>