This commit is contained in:
tamaina 2021-03-03 13:39:19 +09:00
parent 3d67998cbc
commit 34e8ea58fb

View file

@ -7,7 +7,7 @@ import {
const fallbackName = (key: string) => `idbfallback::${key}`;
let idbAvailable = !!window.indexedDB;
let idbAvailable = window ? !!window.indexedDB : true;
if (idbAvailable) {
try {