Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-web
ensembl-client
Commits
1967b77f
Unverified
Commit
1967b77f
authored
Sep 01, 2021
by
Jyothish
Committed by
GitHub
Sep 01, 2021
Browse files
Remove dedicated error boundary from Browser.tsx (#568)
parent
59505cb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
src/ensembl/src/content/app/browser/Browser.tsx
src/ensembl/src/content/app/browser/Browser.tsx
+1
-13
No files found.
src/ensembl/src/content/app/browser/Browser.tsx
View file @
1967b77f
...
...
@@ -58,8 +58,6 @@ import TrackPanelTabs from './track-panel/track-panel-tabs/TrackPanelTabs';
import
BrowserAppBar
from
'
./browser-app-bar/BrowserAppBar
'
;
import
Drawer
from
'
./drawer/Drawer
'
;
import
{
StandardAppLayout
}
from
'
src/shared/components/layout
'
;
import
ErrorBoundary
from
'
src/shared/components/error-boundary/ErrorBoundary
'
;
import
{
NewTechError
}
from
'
src/shared/components/error-screen
'
;
import
BrowserInterstitial
from
'
./interstitial/BrowserInterstitial
'
;
import
{
RootState
}
from
'
src/store
'
;
...
...
@@ -211,14 +209,4 @@ const WasmLoadingBrowserContainer = () => {
return
<
ReduxConnectedBrowser
/>;
};
const
ErrorWrappedBrowser
=
()
=>
{
// if an error happens during loading of the browser,
// we will be able to show custom error string
return
(
<
ErrorBoundary
fallbackComponent
=
{
NewTechError
}
>
<
WasmLoadingBrowserContainer
/>
</
ErrorBoundary
>
);
};
export
default
ErrorWrappedBrowser
;
export
default
WasmLoadingBrowserContainer
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment