Fix
This commit is contained in:
parent
3d67998cbc
commit
34e8ea58fb
|
@ -7,7 +7,7 @@ import {
|
|||
|
||||
const fallbackName = (key: string) => `idbfallback::${key}`;
|
||||
|
||||
let idbAvailable = !!window.indexedDB;
|
||||
let idbAvailable = window ? !!window.indexedDB : true;
|
||||
|
||||
if (idbAvailable) {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue