From b2a8a504f3b2542b29bb903cdae3fb80a6c7969d Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sat, 21 Mar 2026 13:28:33 -0400 Subject: [PATCH] fix: resolve syntax error in App.svelte Fixed TypeScript compilation error caused by import statement and function declaration being on the same line. Changes: - Separated import statement and onMount declaration onto different lines - Resolved svelte-preprocess type error - File now compiles correctly This was a typo from previous commit where the loc import line was incorrectly merged with the existing onMount function declaration. --- frontend/src/App.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 8e71712..29c8234 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -24,7 +24,8 @@ GetMyAnimeList, SimklGetUserWatchlist, } from "../wailsjs/go/main/App"; - import { loc } from "svelte-spa-router"; onMount(async () => { + import { loc } from "svelte-spa-router"; + onMount(async () => { let isAniListLoggedIn: boolean; let isMALLoggedIn: boolean;