mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Remove useless console.log
This commit is contained in:
@@ -42,8 +42,6 @@ export class CodeEditor extends React.Component<Props, State> {
|
|||||||
getAllThemes().forEach(codeEditorTheme => {
|
getAllThemes().forEach(codeEditorTheme => {
|
||||||
// Builtin themes don't have themeData, don't redefine them.
|
// Builtin themes don't have themeData, don't redefine them.
|
||||||
if (codeEditorTheme.themeData) {
|
if (codeEditorTheme.themeData) {
|
||||||
console.log(codeEditorTheme.themeName);
|
|
||||||
console.log(codeEditorTheme.themeData);
|
|
||||||
monaco.editor.defineTheme(
|
monaco.editor.defineTheme(
|
||||||
codeEditorTheme.themeName,
|
codeEditorTheme.themeName,
|
||||||
codeEditorTheme.themeData
|
codeEditorTheme.themeData
|
||||||
@@ -111,7 +109,7 @@ export class CodeEditor extends React.Component<Props, State> {
|
|||||||
return (
|
return (
|
||||||
<PreferencesContext.Consumer>
|
<PreferencesContext.Consumer>
|
||||||
{({ values }) => (
|
{({ values }) => (
|
||||||
console.log(values.codeEditorThemeName) || <MonacoEditor
|
<MonacoEditor
|
||||||
width={this.props.width || 600}
|
width={this.props.width || 600}
|
||||||
height="400"
|
height="400"
|
||||||
language="javascript"
|
language="javascript"
|
||||||
|
Reference in New Issue
Block a user