**useMultiTrack.ts:** - Removed localStorage persistence (tracks, effects, automation) - Now relies entirely on IndexedDB via project management system - Simpler state management without dual persistence **AudioEditor.tsx:** - Store last project ID in localStorage when saving - Auto-load last project on page mount - Only runs once per session with hasAutoLoaded flag - Falls back to empty state if project can't be loaded **Benefits:** - No more conflicts between localStorage and IndexedDB - Effects and automation properly persisted - Seamless experience - reload page and your project is ready - Single source of truth (IndexedDB) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.9 KiB
1.9 KiB