diff --git a/src/pages/Editor.tsx b/src/pages/Editor.tsx index 1264466..23e276b 100644 --- a/src/pages/Editor.tsx +++ b/src/pages/Editor.tsx @@ -1262,7 +1262,7 @@ async function updateStepContents( relativePositions, ) - const tasks = step.children.map(async (child) => { + for (const child of step.children) { const { content: childContent, relativePositions: childRelativePositions, @@ -1279,10 +1279,6 @@ async function updateStepContents( childRelativePositions, ) } - }) - - for (const task of tasks) { - await task } }