aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/background.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index b5f7002dc..55eeed83f 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -80,6 +80,7 @@ async function loadStateFromPersistence () {
log.error('error fetching state from local store:', err)
}
+ // If localStore is supported but has not been written to yet, ignore:
if (Object.keys(localData).length > 0) {
versionedData = localData
}