mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
wtv
This commit is contained in:
committed by
Yiannis Christodoulou
parent
32f61cf566
commit
e34bd55e7a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user