1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-20 21:21:59 +00:00

refactor: by ESLint

This commit is contained in:
sota1235
2017-03-13 18:40:12 +09:00
parent 93b15f2a7a
commit 6fcbca6b10
8 changed files with 9 additions and 11 deletions

View File

@@ -266,13 +266,13 @@ class MarkdownNoteDetail extends React.Component {
</div>
<div styleName='info-right'>
{(() => {
const faClassName=`fa ${this.getToggleLockButton()}`
const faClassName = `fa ${this.getToggleLockButton()}`
const lockButtonComponent =
<button styleName='info-right-button'
onFocus={(e) => this.handleFocus(e)}
onMouseDown={(e) => this.handleLockButtonMouseDown(e)}
>
<i className={faClassName}/>
<i className={faClassName} />
</button>
return (
this.state.editorStatus === 'CODE' ? lockButtonComponent : ''