mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Apply linter
This commit is contained in:
parent
a35cc23d28
commit
29ec7ba03a
@ -1461,8 +1461,7 @@ class NoteTextComponent extends React.Component {
|
||||
if (match && match.length > 0) {
|
||||
// Follow the same newline style
|
||||
this.wrapSelectionWithStrings(`\`\`\`${match[0]}`, `${match[0]}\`\`\``);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this.wrapSelectionWithStrings('`', '`');
|
||||
}
|
||||
}
|
||||
|
@ -405,8 +405,7 @@ function themeStyle(theme) {
|
||||
output = Object.assign({}, output, solarizedLightStyle);
|
||||
} else if (theme == Setting.THEME_SOLARIZED_DARK) {
|
||||
output = Object.assign({}, output, solarizedDarkStyle);
|
||||
}
|
||||
else if (theme == Setting.THEME_DRACULA) {
|
||||
} else if (theme == Setting.THEME_DRACULA) {
|
||||
output = Object.assign({}, output, draculaStyle);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user