add setOptions={{useWorker:false}} to all <AceEditor instances - fixes localdev "worker" error

This commit is contained in:
2023-04-20 10:52:11 -05:00
parent 7f49f4b1a1
commit 1c0535cdc0
8 changed files with 8 additions and 0 deletions

View File

@ -457,6 +457,7 @@ function CodeViewer({name, mode, code}: {name: string; mode: string; code: strin
theme="github"
name={name}
editorProps={{$blockScrolling: true}}
setOptions={{useWorker: false}}
value={activeCode}
readOnly
highlightActiveLine={false}