Skip to content

Commit

Permalink
Fix worker-html.js and worker-json.js errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wtetsu committed Oct 16, 2021
1 parent 0f3d0c2 commit 7df2f5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/options/component/atom/HighlightEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const HighlightEditor: React.VFC<Props> = (props) => {
showGutter={false}
highlightActiveLine={false}
style={{ ...DEFAULT_STYLE, ...props.style }}
setOptions={{ useWorker: false }}
/>
);
};
1 change: 1 addition & 0 deletions src/options/component/organism/WholeSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export const WholeSettings: React.VFC<Props> = (props) => {
highlightActiveLine={false}
style={{ ...EDITOR_STYLE, height: 700 }}
ref={editor}
setOptions={{ useWorker: false }}
/>
</div>
</div>
Expand Down

0 comments on commit 7df2f5f

Please sign in to comment.