diff --git a/client/homebrew/utils/versionHistory.js b/client/homebrew/utils/versionHistory.js index 28be09234..4a3e9c8f7 100644 --- a/client/homebrew/utils/versionHistory.js +++ b/client/homebrew/utils/versionHistory.js @@ -126,7 +126,7 @@ export function versionHistoryGarbageCollection(){ return key.startsWith(HISTORY_PREFIX); }) .forEach((key)=>{ - const collectAt = new Date(JSON.parse(localStorage.getItem(key)).expireAt); + const collectAt = new Date(JSON.parse(localStorage.getItem(key)).savedAt); collectAt.setMinutes(collectAt.getMinutes() + GARBAGE_COLLECT_DELAY); if(new Date() > collectAt){ localStorage.removeItem(key);