mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 21:06:58 +00:00
Remove unnecessary guard clause
This commit is contained in:
1 parent
291e16b124
commit
2a9402634f
1 file changed
-1
@@ -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)=>{
|
||||
|
||||
Reference in new issue
Block a user