CodeEditor keeps model after unmount (#70661)

This commit is contained in:
Bohdan Jóža 2023-06-28 11:43:12 +02:00 committed by GitHub
parent f18a7f7d96
commit a2dad8a636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,6 +166,7 @@ class UnthemedCodeEditor extends PureComponent<Props> {
}}
beforeMount={this.handleBeforeMount}
onMount={this.handleOnMount}
keepCurrentModel={true}
/>
</div>
);