We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d904340 + c9d1b36 commit 28d6a5dCopy full SHA for 28d6a5d
src/core/cache.js
@@ -14,11 +14,8 @@ export function get(key) {
14
export function set(key, data) {
15
try {
16
if (typeof data === 'object') {
17
- console.log("storage", storage)
18
- storage.setItem(key, JSON.stringify(data));
19
- //localStorage.setItem("hello", "Smith");
+ storage.setItem(key, JSON.stringify(data));
20
} else {
21
- console.log("else")
22
storage.setItem(key, data);
23
}
24
} catch (error) {
0 commit comments