feat(32-01): fix trackChanges debounce stability

- Replace useCallback(debounce()) with useDebounceCallback hook
- Timer no longer resets when currentTrackChanges or refreshCurrentSession change
- Callback always reads fresh state values via ref closure (fixes STATE-02)
- Remove lodash debounce import (no longer needed)
- Fixes debounce timer reset on dependency changes
This commit is contained in:
Nuwan 2026-03-05 19:37:18 +05:30
parent d53603cd08
commit f0ddd9d7c7
1 changed files with 463 additions and 392 deletions

File diff suppressed because it is too large Load Diff