-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove alert modal from localForage error case #1676
Conversation
LMK if this works for you. |
Deploy preview for netlify-cms-www ready! Built with commit ed59ba5 |
Deploy preview for cms-demo ready! Built with commit ed59ba5 |
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.log(message); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do a console.warn
here. Other than that, LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Cool thanks! And I assume you guys will have to merge it as well? |
Yes, once another maintainer reviews they will merge it. |
Summary
Fixes #1626
Remove alert modal from localForage error case
Test plan
yarn test