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

@ -416,6 +416,7 @@ export default function ScriptViewer({scriptId, associatedScriptTableName, assoc
readOnly
highlightActiveLine={false}
editorProps={{$blockScrolling: true}}
setOptions={{useWorker: false}}
width="100%"
height="400px"
value={selectedVersionRecord?.values?.get("contents")}