update storage.js

pull/7/head
Rob Stupay 7 years ago
parent a42040de74
commit 4c7c2cacd4
  1. 2
      remix-lib/src/storage.js

@ -44,6 +44,8 @@ function Storage (prefix) {
// NOTE: this is a workaround for some browsers
if (typeof window !== 'undefined') {
return Object.keys(window.localStorage).filter(function (item) { return item !== null && item !== undefined })
} else {
return []
}
}

Loading…
Cancel
Save