Skip to content

Commit 7195a2d

Browse files
committed
chores:
Removes loggig from LocalStorageCacheProvider
1 parent 206b0fe commit 7195a2d

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "http-react",
3-
"version": "3.8.5",
3+
"version": "3.8.6",
44
"description": "React hooks for data fetching",
55
"main": "dist/index.js",
66
"scripts": {

src/components/LocalStorageCacheProvider.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ const loadFromLocalStorage = () => {
1111
try {
1212
const currentValue = localStorage.getItem(key)
1313
if (typeof currentValue !== 'undefined') {
14-
console.log({ key, currentValue })
15-
1614
defaultCache.set(key, JSON.parse(currentValue!))
1715
}
1816
} catch (error) {
@@ -22,7 +20,6 @@ const loadFromLocalStorage = () => {
2220
}
2321

2422
isCacheHydrated = true
25-
console.log('Cache hydration complete.')
2623
}
2724
}
2825

0 commit comments

Comments
 (0)