fix: add missing onUpdateTrack prop to Track component
Fixed "onUpdateTrack is not defined" error by: - Added onUpdateTrack to TrackProps interface - Added onUpdateTrack to Track component destructuring - Passed onUpdateTrack prop from TrackList to Track This prop is required for: - Track height resizing functionality - Automation lane updates - General track property updates 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -114,6 +114,7 @@ export function TrackList({
|
||||
onNameChange={(name) =>
|
||||
onUpdateTrack(track.id, { name })
|
||||
}
|
||||
onUpdateTrack={onUpdateTrack}
|
||||
onSeek={onSeek}
|
||||
onLoadAudio={(buffer) =>
|
||||
onUpdateTrack(track.id, { audioBuffer: buffer })
|
||||
|
||||
Reference in New Issue
Block a user