From 4df2fdd6146d2aa9a4868523a993bda685982e70 Mon Sep 17 00:00:00 2001 From: Design_JY Date: Sat, 4 Mar 2023 23:33:29 +0900 Subject: [PATCH] storage is always rebelled with an object. --- src/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store.js b/src/store.js index 47752758f..dc0ad357d 100644 --- a/src/store.js +++ b/src/store.js @@ -38,7 +38,7 @@ class Store { checkRequirements(){ try { let store; - if (typeof localforage === "undefined") { + if (typeof store === "undefined") { store = localforage; } this.storage = store.createInstance({