Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ErrorBoundary component #54

Merged
merged 1 commit into from
Sep 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.