Files
KVideo/lib/hooks
Troray dfdeef04a7 fix: stop infinite requests after adding new subscription
Adding a new subscription triggered an infinite loop of JSON fetches
because useSubscriptionSync was subscribing to settingsStore changes,
which caused a cycle: store change → state update → sync → save →
store change.
- Remove settingsStore subscription to break the infinite loop
- Add refs to ensure sync runs only once per component mount
- Enable 5-minute cooldown to prevent redundant syncs
2026-01-14 01:43:32 +08:00
..
new
2025-12-24 23:53:24 +08:00
2026-01-13 16:32:01 +08:00
new
2025-12-24 23:53:24 +08:00
new
2025-12-24 23:53:24 +08:00
new
2025-12-24 23:53:24 +08:00
new
2025-12-24 23:53:24 +08:00
2026-01-13 16:04:13 +08:00
2026-01-13 16:04:13 +08:00
new
2025-12-24 23:53:24 +08:00
new
2025-12-24 23:53:24 +08:00
new
2025-12-24 23:53:24 +08:00
new
2025-12-24 23:53:24 +08:00
2026-01-13 16:32:01 +08:00