Commit Graph
2 Commits
Author SHA1 Message Date
DoubleGateandCopilot Autofix powered by AI c46922c408 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-03 02:29:24 -04:00
DoubleGate 6578e81712 fix(sidebar): skip isOffline $effect on initial subscription
Svelte 5's $effect on a derived store fires on its initial
subscription, causing loadUserPlaylists() to run a second time
right after onMount(). Guard with a flag so the effect only fires
on actual offline -> online transitions.

Refs #382
2026-05-03 02:21:45 -04:00