fix: make hasLoadedFromStorage reactive so localStorage saves trigger
All checks were successful
CI / update (push) Successful in 1m28s

This commit is contained in:
2026-02-09 09:18:11 +01:00
parent a5e119f976
commit 8246906a76

View File

@@ -187,7 +187,7 @@ let includeLuminous = $state(data.initialLuminous);
let showImages = $state(true);
// Flag to prevent saving before we've loaded from localStorage
let hasLoadedFromStorage = false;
let hasLoadedFromStorage = $state(false);
// Create language context for prayer components (LanguageToggle will use this)
const langContext = createLanguageContext({ urlLang: data.lang, initialLatin: data.initialLatin });