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 27bc4df + b0e3109 commit bbc6416Copy full SHA for bbc6416
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