diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-30 19:57:13 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-30 19:57:13 +0200 |
| commit | cd30c205b4019fb38371ced956abe55b47054433 (patch) | |
| tree | 683502370b027a268ce64a67a99aa284b0134678 /apps/web/src/components/editor | |
| parent | 16a319f2e4d05f8c2a4367da38ee5c4b08ec0453 (diff) | |
| download | opencut-cd30c205b4019fb38371ced956abe55b47054433.tar.gz | |
fix: await addMediaItem in timeline component to ensure proper item processing
Diffstat (limited to 'apps/web/src/components/editor')
| -rw-r--r-- | apps/web/src/components/editor/timeline.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx index 94509be3..b16250ea 100644 --- a/apps/web/src/components/editor/timeline.tsx +++ b/apps/web/src/components/editor/timeline.tsx @@ -355,7 +355,7 @@ export function Timeline() { (p) => setProgress(p) ); for (const processedItem of processedItems) { - addMediaItem(processedItem); + await addMediaItem(processedItem); const currentMediaItems = useMediaStore.getState().mediaItems; const addedItem = currentMediaItems.find( (item) => |
