mobile: do not show sheet in uncaught errors in editor

This commit is contained in:
Ammar Ahmed
2025-02-11 12:17:11 +05:00
parent ae9e80e12e
commit 4ce24ac8fd

View File

@@ -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;