1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

fix lint errors

This commit is contained in:
Baptiste Augrain
2018-08-30 18:00:19 +02:00
parent 9f8246a26a
commit c844b60941
3 changed files with 6 additions and 4 deletions

View File

@@ -387,7 +387,7 @@ class UiTab extends React.Component {
<p styleName='note-for-keymap'>{i18n.__('⚠️ Please restart boostnote after you change the keymap')}</p>
</div>
</div>
<div styleName='group-section'>
<div styleName='group-section-label'>
{i18n.__('Snippet Default Language')}
@@ -398,7 +398,7 @@ class UiTab extends React.Component {
onChange={(e) => this.handleUIChange(e)}
>
{
_.sortBy(CodeMirror.modeInfo.map(mode => mode.name)).map(name => (<option value={name}>{name}</option>))
_.sortBy(CodeMirror.modeInfo.map(mode => mode.name)).map(name => (<option key={name} value={name}>{name}</option>))
}
</select>
</div>