diff --git a/src/index.mjs b/src/index.mjs index 6d785c1..4211463 100644 --- a/src/index.mjs +++ b/src/index.mjs @@ -20,7 +20,7 @@ export const get = (dispatch, { action, key }) => { let value = undefined - if (key && store[key]) { + if (key && store.hasOwnProperty(key)) { value = lib.json.parse(store[key]) if (typeof value === 'Error') {