Skip to content

Commit fc6a9a1

Browse files
committed
Remove console log
1 parent 9e0eec5 commit fc6a9a1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/CodeSnippetEditor.tsx

-6
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ export class CodeSnippetEditor extends ReactWidget {
305305
`.${CODE_SNIPPET_EDITOR}-${this._codeSnippetEditorMetaData.id} .${CODE_SNIPPET_EDITOR_LANG_INPUT}`
306306
) as HTMLSelectElement).value;
307307

308-
console.log(language);
309308
const validity = this.validateInputs(name, description, language);
310309
if (validity) {
311310
this.updateSnippet();
@@ -364,7 +363,6 @@ export class CodeSnippetEditor extends ReactWidget {
364363
this._codeSnippetEditorMetaData.description = description;
365364
this._codeSnippetEditorMetaData.language = language;
366365

367-
console.log(language);
368366
this.saved = true;
369367

370368
const newPath =
@@ -378,8 +376,6 @@ export class CodeSnippetEditor extends ReactWidget {
378376
try {
379377
await this.contentsService.rename(oldPath, newPath);
380378
} catch (error) {
381-
console.log('duplicate name!');
382-
383379
await showDialog({
384380
title: 'Duplicate Name of Code Snippet',
385381
body: <p> {`"${newPath}" already exists.`} </p>,
@@ -406,14 +402,12 @@ export class CodeSnippetEditor extends ReactWidget {
406402
})
407403
.catch(() => {
408404
nameCheck = true;
409-
console.log('new snippet has been created!');
410405
});
411406
if (!nameCheck) {
412407
return;
413408
}
414409
}
415410

416-
console.log(this._codeSnippetEditorMetaData.selectedTags);
417411
await this.contentsService.save(newPath, {
418412
type: 'file',
419413
format: 'text',

0 commit comments

Comments
 (0)