diff --git a/browser/components/CodeEditor.js b/browser/components/CodeEditor.js
index a20807c0..68157530 100644
--- a/browser/components/CodeEditor.js
+++ b/browser/components/CodeEditor.js
@@ -86,7 +86,7 @@ export default class CodeEditor extends React.Component {
Enter: (cm) => {
const cursor = cm.getCursor()
const line = cm.getLine(cursor.line)
- let bulletType;
+ let bulletType
if (line.trim().startsWith('- ')) {
bulletType = 1 // dash
} else if (line.trim().startsWith('* ')) {
diff --git a/browser/components/MarkdownEditor.js b/browser/components/MarkdownEditor.js
index 9bb50a87..f2d59c85 100644
--- a/browser/components/MarkdownEditor.js
+++ b/browser/components/MarkdownEditor.js
@@ -161,7 +161,7 @@ class MarkdownEditor extends React.Component {
this.renderPreview(this.props.value)
}
- handleKeyDown(e) {
+ handleKeyDown (e) {
if (this.state.status !== 'CODE') return false
const keyPressed = Object.assign(this.state.keyPressed, {
[e.key]: true
@@ -183,7 +183,7 @@ class MarkdownEditor extends React.Component {
const currentCaret = this.refs.code.editor.getCursor()
const cmDoc = this.refs.code.editor.getDoc()
cmDoc.replaceRange(mdElement, currentCaret)
- this.refs.code.editor.setCursor({line: currentCaret.line, ch: currentCaret.ch + mdElement.length/2})
+ this.refs.code.editor.setCursor({ line: currentCaret.line, ch: currentCaret.ch + mdElement.length / 2 })
}
addMdBetweenWord (mdElement) {
diff --git a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js
index 641582a6..4c0585f9 100644
--- a/browser/main/Detail/MarkdownNoteDetail.js
+++ b/browser/main/Detail/MarkdownNoteDetail.js
@@ -281,9 +281,9 @@ class MarkdownNoteDetail extends React.Component {
onFocus={(e) => this.handleFocus(e)}
onMouseDown={(e) => this.handleLockButtonMouseDown(e)}
>
-
+
- {this.state.isLocked ? 'Unlock' : 'Lock'}
+ {this.state.isLocked ? 'Unlock' : 'Lock'}
return (
@@ -293,15 +293,15 @@ class MarkdownNoteDetail extends React.Component {
diff --git a/browser/main/Detail/SnippetNoteDetail.js b/browser/main/Detail/SnippetNoteDetail.js
index 953c2e11..66c0b673 100644
--- a/browser/main/Detail/SnippetNoteDetail.js
+++ b/browser/main/Detail/SnippetNoteDetail.js
@@ -550,11 +550,11 @@ class SnippetNoteDetail extends React.Component {