diff --git a/components/tracks/TrackList.tsx b/components/tracks/TrackList.tsx index dbcb466..45c05c8 100644 --- a/components/tracks/TrackList.tsx +++ b/components/tracks/TrackList.tsx @@ -50,6 +50,7 @@ export function TrackList({ isPlaying = false, }: TrackListProps) { const [importDialogOpen, setImportDialogOpen] = React.useState(false); + const waveformScrollRef = React.useRef(null); const handleImportTrack = (buffer: AudioBuffer, name: string) => { if (onImportTrack) { @@ -86,8 +87,6 @@ export function TrackList({ ); } - const waveformScrollRef = React.useRef(null); - return (
{/* Track List - Two Column Layout */}