Skip to content

Commit

Permalink
spaces instead of tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeke Nierenberg committed Jun 26, 2022
1 parent fac0dbe commit 4564273
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions client/app/components/hook/editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,10 @@ function EditorSwitch({
libSource,
libUri
);
monaco.editor.createModel(
libSource,
"typescript",
monaco.Uri.parse(libUri)
);
monaco.editor
.createModel(libSource, "typescript", monaco.Uri.parse(libUri))
.updateOptions({ tabSize: 2 });

setIsSetup(true);
}}
defaultValue={hook.draft}
Expand Down

0 comments on commit 4564273

Please sign in to comment.