1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fix: for ESLint

This commit is contained in:
sota1235
2017-03-21 15:14:03 +09:00
parent 1ab449cecf
commit 1d3e71cf49
5 changed files with 18 additions and 18 deletions

View File

@@ -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('* ')) {