chore: migrate to SvelteKit app state (#14807)

* chore: migrate to SvelteKit app state

* update package-lock.json
This commit is contained in:
Ben McCann
2024-12-20 15:18:22 -07:00
committed by GitHub
parent a14735846c
commit da70a1e457
11 changed files with 171 additions and 136 deletions
@@ -1,5 +1,5 @@
<script lang="ts">
import { page } from '$app/stores';
import { page } from '$app/state';
</script>
<svelte:head>
@@ -8,7 +8,7 @@
<section class="flex flex-col px-4 h-screen w-screen place-content-center place-items-center">
<h1 class="py-10 text-4xl text-immich-primary dark:text-immich-dark-primary">Page not found :/</h1>
{#if $page.error?.message}
<h2 class="text-xl text-immich-fg dark:text-immich-dark-fg">{$page.error.message}</h2>
{#if page.error?.message}
<h2 class="text-xl text-immich-fg dark:text-immich-dark-fg">{page.error.message}</h2>
{/if}
</section>