diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-09-01 17:18:00 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-09-01 17:18:00 +0200 |
| commit | af1964cf113bc9cbebc59a94631f8d08506923d2 (patch) | |
| tree | 4e40979eea683adbec7f377ed53e1cd7e1e130c5 /apps/web/src/stores/timeline-store.ts | |
| parent | e2bd8d1e093715da6d5d09b6dcbac6b68262f6ad (diff) | |
| download | opencut-af1964cf113bc9cbebc59a94631f8d08506923d2.tar.gz | |
fix: scenes now load properly
Diffstat (limited to 'apps/web/src/stores/timeline-store.ts')
| -rw-r--r-- | apps/web/src/stores/timeline-store.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/web/src/stores/timeline-store.ts b/apps/web/src/stores/timeline-store.ts index 8caa71a7..24b6eca3 100644 --- a/apps/web/src/stores/timeline-store.ts +++ b/apps/web/src/stores/timeline-store.ts @@ -260,6 +260,15 @@ export const useTimelineStore = create<TimelineStore>((set, get) => { } catch (error) { console.error("Failed to auto-save timeline:", error); } + } else { + console.warn( + "Auto-save skipped - missing activeProject or currentScene:", + { + hasProject: !!activeProject, + hasScene: !!currentScene, + sceneName: currentScene?.name, + } + ); } }; |
