Skip to content

Commit

Permalink
fix: make editor not re-initialize when switching tabs (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiwong authored Mar 8, 2022
1 parent 1d4f6da commit 814c5b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/workbench/editor/group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ export function EditorGroup(props: IEditorGroupProps & IEditorController) {
)
) : (
<MonacoEditor
key={tab?.id}
options={{
...editorOptions,
value: tab?.data?.value,
Expand Down

0 comments on commit 814c5b2

Please sign in to comment.