Skip to content

best way to save what you love

web/chore: tabs to spaces

dumbmorona6a51b850a7e
diff --git a/web/src/routes/+error.svelte b/web/src/routes/+error.svelte
index ba0b6166..abcd6efe 100644
--- a/web/src/routes/+error.svelte
+++ b/web/src/routes/+error.svelte
@@ -1,16 +1,16 @@
<script lang="ts">
- import { goto } from '$app/navigation';
- import { page } from '$app/stores';
- import { defaultSettingsPage } from '$lib/settings/defaults';
+ import { goto } from '$app/navigation';
+ import { page } from '$app/stores';
+ import { defaultSettingsPage } from '$lib/settings/defaults';
- $: {
- if (
- $page.error?.message === 'Not Found'
- && $page.url.pathname.startsWith('/settings')
- ) {
- goto(defaultSettingsPage(), { replaceState: true });
- }
- }
+ $: {
+ if (
+ $page.error?.message === 'Not Found'
+ && $page.url.pathname.startsWith('/settings')
+ ) {
+ goto(defaultSettingsPage(), { replaceState: true });
+ }
+ }
</script>
<!-- TODO: nicer errors -->