Closed Eggrror404 closed 1 week ago
seems like an issue with SvelteKit SSR and mode-watcher's undefined
$mode on server
The issue is identified (way before this comment is made lol)
It's that Svelte thinks the two SVG's on either side of the if
are the same, thus not updating the element when $mode
changes.
It is however not fixable without a workaround - we'd just make them different, one is wrapped with <span>
, one isn't.
showing dark mode, while it's clearly light mode