Skip to content

Commit

Permalink
Fix worker error in website
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromewu committed Dec 25, 2023
1 parent bcfaee9 commit 39f4c69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/website/src/components/Playground/Workspace/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function Editor({
highlightActiveLine={true}
value={args}
onChange={onArgsUpdate}
setOptions={{ tabSize: 2 }}
setOptions={{ tabSize: 2, useWorker: false }}
/>
</Stack>
<AceEditor
Expand All @@ -87,7 +87,7 @@ export default function Editor({
readOnly
highlightActiveLine={false}
value={genFFmpegText(args)}
setOptions={{ tabSize: 2 }}
setOptions={{ tabSize: 2, useWorker: false }}
/>
<Typography>Console Output:</Typography>
<AceEditor
Expand All @@ -102,7 +102,7 @@ export default function Editor({
showPrintMargin={true}
highlightActiveLine={false}
value={logs.join("\n")}
setOptions={{ tabSize: 2 }}
setOptions={{ tabSize: 2, useWorker: false }}
onLoad={(editor) => setOutput(editor)}
/>
<Typography>Transcoding Progress:</Typography>
Expand Down

0 comments on commit 39f4c69

Please sign in to comment.