This commit is contained in:
Markos Gogoulos
2025-09-17 12:16:56 +03:00
committed by Yiannis Christodoulou
parent 32f61cf566
commit e34bd55e7a
6 changed files with 12 additions and 36 deletions
@@ -968,7 +968,7 @@ const TimelineControls = ({
useEffect(() => {
const loadSavedSegments = () => {
// Get savedSegments directly from window.MEDIA_DATA
let savedData = (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.savedSegments) || null;
let savedData = (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.chapters) || null;
// If no saved segments, use default segments
if (!savedData) {