You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-05 22:57:29 +02:00
Tools: Added eslint rule arrow-parens
This commit is contained in:
@@ -18,7 +18,7 @@ shared.init = function(comp) {
|
||||
};
|
||||
|
||||
shared.advancedSettingsButton_click = (comp) => {
|
||||
comp.setState(state => {
|
||||
comp.setState((state) => {
|
||||
return { showAdvancedSettings: !state.showAdvancedSettings };
|
||||
});
|
||||
};
|
||||
@@ -79,7 +79,7 @@ shared.checkNextcloudApp = async function(comp, settings) {
|
||||
};
|
||||
|
||||
shared.updateSettingValue = function(comp, key, value) {
|
||||
comp.setState(state => {
|
||||
comp.setState((state) => {
|
||||
const settings = Object.assign({}, state.settings);
|
||||
const changedSettingKeys = state.changedSettingKeys.slice();
|
||||
settings[key] = Setting.formatValue(key, value);
|
||||
|
||||
Reference in New Issue
Block a user