chore: remove some unnecessary comments

This commit is contained in:
Yiannis Christodoulou 2025-06-23 20:04:10 +03:00
parent 1505a155e6
commit 5993611950
2 changed files with 0 additions and 7 deletions

View File

@ -1739,7 +1739,6 @@ const TimelineControls = ({
console.error("Error resuming playback after segment click:", err); console.error("Error resuming playback after segment click:", err);
}); });
} }
// Removed preview mode playback - preview functionality replaced by segments playback
} }
// Calculate tooltip position directly above click point // Calculate tooltip position directly above click point

View File

@ -21,8 +21,6 @@ const useVideoTrimmer = () => {
const [isPlaying, setIsPlaying] = useState(false); const [isPlaying, setIsPlaying] = useState(false);
const [isMuted, setIsMuted] = useState(false); const [isMuted, setIsMuted] = useState(false);
// Removed preview mode - replaced by isPlayingSegments
// Timeline state // Timeline state
const [thumbnails, setThumbnails] = useState<string[]>([]); const [thumbnails, setThumbnails] = useState<string[]>([]);
const [trimStart, setTrimStart] = useState(0); const [trimStart, setTrimStart] = useState(0);
@ -515,10 +513,6 @@ const useVideoTrimmer = () => {
}; };
}, [clipSegments, duration]); }, [clipSegments, duration]);
// Removed preview mode effect - functionality replaced by isPlayingSegments
// Removed preview mode functions - replaced by handlePlaySegments
// Handle trim start change // Handle trim start change
const handleTrimStartChange = (time: number) => { const handleTrimStartChange = (time: number) => {
setTrimStart(time); setTrimStart(time);