Skip to content

Commit 39f4c69

Browse files
committed
Fix worker error in website
1 parent bcfaee9 commit 39f4c69

File tree

1 file changed

+3
-3
lines changed
  • apps/website/src/components/Playground/Workspace

1 file changed

+3
-3
lines changed

apps/website/src/components/Playground/Workspace/Editor.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function Editor({
7272
highlightActiveLine={true}
7373
value={args}
7474
onChange={onArgsUpdate}
75-
setOptions={{ tabSize: 2 }}
75+
setOptions={{ tabSize: 2, useWorker: false }}
7676
/>
7777
</Stack>
7878
<AceEditor
@@ -87,7 +87,7 @@ export default function Editor({
8787
readOnly
8888
highlightActiveLine={false}
8989
value={genFFmpegText(args)}
90-
setOptions={{ tabSize: 2 }}
90+
setOptions={{ tabSize: 2, useWorker: false }}
9191
/>
9292
<Typography>Console Output:</Typography>
9393
<AceEditor
@@ -102,7 +102,7 @@ export default function Editor({
102102
showPrintMargin={true}
103103
highlightActiveLine={false}
104104
value={logs.join("\n")}
105-
setOptions={{ tabSize: 2 }}
105+
setOptions={{ tabSize: 2, useWorker: false }}
106106
onLoad={(editor) => setOutput(editor)}
107107
/>
108108
<Typography>Transcoding Progress:</Typography>

0 commit comments

Comments
 (0)