File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
jbrowse/src/client/JBrowse/Browser Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import LogSession from './plugins/LogSession/index';
88import ExtendedVariantPlugin from './plugins/ExtendedVariantPlugin/index' ;
99import './jbrowse.css' ;
1010import JBrowseFooter from './components/JBrowseFooter' ;
11+ import { ErrorBoundary } from '@labkey/components' ;
1112
1213const refTheme = createTheme ( )
1314const blue = '#116596'
@@ -144,8 +145,10 @@ function View(){
144145 return (
145146 //TODO: can we make this expand to full page height?
146147 < div style = { { height : "100%" } } >
147- < JBrowseLinearGenomeView viewState = { state } />
148- < JBrowseFooter viewState = { state } bgColor = { bgColor } />
148+ < ErrorBoundary >
149+ < JBrowseLinearGenomeView viewState = { state } />
150+ < JBrowseFooter viewState = { state } bgColor = { bgColor } />
151+ </ ErrorBoundary >
149152 </ div >
150153 )
151154}
You can’t perform that action at this time.
0 commit comments