mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 07:32:40 +00:00
Remove debugging line
This commit is contained in:
@@ -114,7 +114,6 @@ export function versionHistoryGarbageCollection(){
|
|||||||
const collectAt = new Date(JSON.parse(localStorage.getItem(key)).expireAt);
|
const collectAt = new Date(JSON.parse(localStorage.getItem(key)).expireAt);
|
||||||
collectAt.setMinutes(collectAt.getMinutes() + GARBAGE_COLLECT_DELAY);
|
collectAt.setMinutes(collectAt.getMinutes() + GARBAGE_COLLECT_DELAY);
|
||||||
if(new Date() > collectAt){
|
if(new Date() > collectAt){
|
||||||
console.log('GARBAGE COLLECTION:', key);
|
|
||||||
localStorage.removeItem(key);
|
localStorage.removeItem(key);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user