Skip to content

Commit

Permalink
Remove ErrorBoundary component
Browse files Browse the repository at this point in the history
  • Loading branch information
shaes-farm committed Sep 2, 2023
1 parent aa93cff commit 9fb648d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 106 deletions.
5 changes: 2 additions & 3 deletions src/components/Auth/AuthShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Paper from '@mui/material/Paper';

import type {AppConfig} from '../App';
import Copyright from '../Copyright';
import ErrorBoundary from '../ErrorBoundary';

import {Auth} from './Auth';
import type {
Expand Down Expand Up @@ -34,7 +33,7 @@ export const AuthShell: React.FC<AuthShellProps> = ({config, signIn, signUp, rec
}, [view]);

return (
<ErrorBoundary key='auth-shell-error-boundary'>
<>
<Grid
container
component="main"
Expand Down Expand Up @@ -82,7 +81,7 @@ export const AuthShell: React.FC<AuthShellProps> = ({config, signIn, signUp, rec
<Copyright holder={config.app.copyright.holder} url={config.app.copyright.url} year={config.app.copyright.year} sx={{ mt: 5 }} />
</Grid>
</Grid>
</ErrorBoundary>
</>
);
};

Expand Down
43 changes: 0 additions & 43 deletions src/components/ErrorBoundary.tsx

This file was deleted.

60 changes: 0 additions & 60 deletions src/components/__tests__/ErrorBoundary.test.tsx

This file was deleted.

0 comments on commit 9fb648d

Please sign in to comment.