fix: remove alert modal from localForage error case (#1676)
This commit is contained in:
parent
71987c002c
commit
4f3116de4d
@ -9,8 +9,8 @@ function localForageTest() {
|
||||
})
|
||||
.catch(err => {
|
||||
if (err.code === 22) {
|
||||
const message = `Unable to set localStorage key. Quota exceeded! Full disk?`;
|
||||
return alert(`${message}\n\n${err}`);
|
||||
const message = 'Unable to set localStorage key. Quota exceeded! Full disk?';
|
||||
console.warn(message);
|
||||
}
|
||||
console.log(err);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user