File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
client/packages/lowcoder/src/pages/editor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ import { fetchFolderElements } from "redux/reduxActions/folderActions";
2626import { registryDataSourcePlugin } from "constants/queryConstants" ;
2727import { DatasourceApi } from "api/datasourceApi" ;
2828import { useRootCompInstance } from "./useRootCompInstance" ;
29- import ErrorBoundary from "antd/es/alert/ErrorBoundary" ;
3029import EditorSkeletonView from "./editorSkeletonView" ;
30+ import { ErrorBoundary , FallbackProps } from 'react-error-boundary' ;
3131
3232const AppSnapshot = lazy ( ( ) => {
3333 return import ( "pages/editor/appSnapshot" )
@@ -135,7 +135,7 @@ export default function AppEditor() {
135135 } , [ viewMode , applicationId , dispatch ] ) ;
136136
137137 return (
138- < ErrorBoundary >
138+ < ErrorBoundary fallback = { < p > ⚠️Something went wrong </ p > } >
139139 { showAppSnapshot ? (
140140 < Suspense fallback = { < EditorSkeletonView /> } >
141141 < AppSnapshot
You can’t perform that action at this time.
0 commit comments