mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
mobile: do not show sheet in uncaught errors in editor
This commit is contained in:
@@ -38,13 +38,6 @@ if (currentTheme) {
|
||||
useThemeEngineStore.getState().setTheme(currentTheme);
|
||||
}
|
||||
|
||||
window.addEventListener("error", (event) => {
|
||||
post("editorError", {
|
||||
message: event.error.message,
|
||||
stack: event.error?.stack || ""
|
||||
});
|
||||
});
|
||||
|
||||
class ExceptionHandler extends React.Component<{
|
||||
children: React.ReactNode;
|
||||
component: string;
|
||||
|
||||
Reference in New Issue
Block a user