@tldraw/editor
Version:
tldraw infinite canvas SDK (editor).
23 lines (20 loc) • 908 B
JavaScript
function showCantWriteToIndexDbAlert() {
window.alert(
`Oops! We could not save changes to your browser's storage. We now need to reload the page and try again.
Keep seeing this message?
\u2022 If you're using tldraw in a private or "incognito" window, try loading tldraw in a regular window or in a different browser.
\u2022 If your hard disk is full, try clearing up some space and then reload the page.`
);
}
function showCantReadFromIndexDbAlert() {
window.alert(
`Oops! We could not access your browser's storage\u2014and the app won't work correctly without that. We now need to reload the page and try again.
Keep seeing this message?
\u2022 If you're using tldraw in a private or "incognito" window, try loading tldraw in a regular window or in a different browser.`
);
}
export {
showCantReadFromIndexDbAlert,
showCantWriteToIndexDbAlert
};
//# sourceMappingURL=alerts.mjs.map