From 2a9402634f062925a14dfa2aa6df3a07505a27dd Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Wed, 9 Oct 2024 14:58:20 +1300 Subject: [PATCH] Remove unnecessary guard clause --- client/homebrew/utils/versionHistory.js | 1 - 1 file changed, 1 deletion(-) diff --git a/client/homebrew/utils/versionHistory.js b/client/homebrew/utils/versionHistory.js index 9f026c41c..bf987bb1f 100644 --- a/client/homebrew/utils/versionHistory.js +++ b/client/homebrew/utils/versionHistory.js @@ -50,7 +50,6 @@ async function createHBStore(){ } export async function historyCheck(brew){ - if(!IDB) return false; const historyExists = await IDB.keys(await createHBStore()) .then((keys)=>{ return [...keys].some((key)=>{