diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-01-25 05:05:13 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-01-25 05:05:13 +0800 |
commit | cd5eaa4393a122247295c7627a3fad3e678bea30 (patch) | |
tree | 60c7e362ee5e9ed5df963c12dafb73c796fb93bf /app | |
parent | b281a5275983c4e2d924ba696c4885fd779d2c44 (diff) | |
download | tangerine-wallet-browser-cd5eaa4393a122247295c7627a3fad3e678bea30.tar tangerine-wallet-browser-cd5eaa4393a122247295c7627a3fad3e678bea30.tar.gz tangerine-wallet-browser-cd5eaa4393a122247295c7627a3fad3e678bea30.tar.bz2 tangerine-wallet-browser-cd5eaa4393a122247295c7627a3fad3e678bea30.tar.lz tangerine-wallet-browser-cd5eaa4393a122247295c7627a3fad3e678bea30.tar.xz tangerine-wallet-browser-cd5eaa4393a122247295c7627a3fad3e678bea30.tar.zst tangerine-wallet-browser-cd5eaa4393a122247295c7627a3fad3e678bea30.zip |
Remove redundant async modifiers
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/local-store.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/local-store.js b/app/scripts/lib/local-store.js index 32faac96b..9114364b6 100644 --- a/app/scripts/lib/local-store.js +++ b/app/scripts/lib/local-store.js @@ -12,12 +12,12 @@ module.exports = class ExtensionStore { log.error('Storage local API not available.') } } - async get() { + get() { return new Promise((resolve) => { extension.storage.local.get(STORAGE_KEY, resolve) }) } - async set(state) { + set(state) { return new Promise((resolve) => { extension.storage.local.set(state, resolve) }) |