1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-14 23:26:58 +02:00

Chore: Apply eslint no-unused-vars eslint config and add TypeScript config

This commit is contained in:
Laurent Cozic
2019-09-12 22:16:42 +00:00
parent 0b9e007b46
commit 15a42a3729
90 changed files with 339 additions and 187 deletions

View File

@@ -11,7 +11,7 @@ const { themeStyle } = require('lib/components/global-style.js');
const { _ } = require('lib/locale.js');
class FolderScreenComponent extends BaseScreenComponent {
static navigationOptions(options) {
static navigationOptions() {
return { header: null };
}
@@ -67,7 +67,7 @@ class FolderScreenComponent extends BaseScreenComponent {
}
folderComponent_change(propName, propValue) {
this.setState((prevState, props) => {
this.setState((prevState) => {
let folder = Object.assign({}, prevState.folder);
folder[propName] = propValue;
return { folder: folder };