File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/drip-table/src/drip-table/components/render-html Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 99import React from 'react' ;
1010
1111import { DripTableColumnSchema , DripTableRecordTypeBase , SchemaObject } from '@/types' ;
12+ import ErrorBoundary from '@/components/error-boundary' ;
1213import RichText from '@/components/rich-text' ;
1314
1415import { DripTableComponentProps } from '../component' ;
@@ -39,7 +40,7 @@ export default class DTCRenderHTML<RecordType extends DripTableRecordTypeBase> e
3940 < div > { Object . prototype . toString . call ( html ) } </ div >
4041 ) ;
4142 }
42- return < RichText html = { html || '' } /> ;
43+ return < ErrorBoundary driver = { this . props . driver } > < RichText html = { html || '' } /> </ ErrorBoundary > ;
4344 } catch ( error ) {
4445 console . error ( error ) ;
4546 }
You can’t perform that action at this time.
0 commit comments