mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-17 08:03:06 +00:00
same darkMode props_invalid_value fix in flows/dev/+page.svelte (#8262)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
co-authored by
Claude Opus 4.6
parent
2fb323aae6
commit
ca6f96b83d
@@ -52,7 +52,7 @@
|
||||
}
|
||||
|
||||
let darkModeToggle: DarkModeToggle | undefined = $state()
|
||||
let darkMode: boolean | undefined = $state(undefined)
|
||||
let darkMode: boolean = $state(document.documentElement.classList.contains('dark'))
|
||||
let modeInitialized = $state(false)
|
||||
function initializeMode() {
|
||||
modeInitialized = true
|
||||
|
||||
Reference in New Issue
Block a user