Skip to content

Commit

Permalink
chore(Persist): fixed for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Mar 15, 2019
1 parent e68760b commit d907f48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Persist.js
Expand Up @@ -189,7 +189,9 @@ class Persist {
}

const pathToken = path.split(".");

let currentItem = globalState;

let isTargetExist = true;

for (let i = 0; i < pathToken.length; i++) {
Expand Down
1 change: 1 addition & 0 deletions src/storageManager.js
Expand Up @@ -49,6 +49,7 @@ function getStorage() {
*/
function getState(key) {
let state;

let stateStr;

if (storage) {
Expand Down

0 comments on commit d907f48

Please sign in to comment.