Skip to content

Commit

Permalink
add error boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
mvoloshin0458 authored and sofa-tata committed Mar 30, 2023
1 parent da4ffe3 commit 70ef415
Show file tree
Hide file tree
Showing 6 changed files with 1,173 additions and 1,173 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/types/components/ErrorPage/ErrorPage.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactNode } from 'react';
import './errorPage.scss';
interface ErrorPageProps {
error: ReactNode | string;
error?: ReactNode | string;
}
declare function ErrorPage({ error }: ErrorPageProps): JSX.Element;
export default ErrorPage;
2 changes: 1 addition & 1 deletion dist/esm/types/components/ErrorPage/ErrorPage.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactNode } from 'react';
import './errorPage.scss';
interface ErrorPageProps {
error: ReactNode | string;
error?: ReactNode | string;
}
declare function ErrorPage({ error }: ErrorPageProps): JSX.Element;
export default ErrorPage;
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface EmptyPageMessageProps {
declare function EmptyPageMessage({ children }: EmptyPageMessageProps): JSX.Element;

interface ErrorPageProps {
error: ReactNode | string;
error?: ReactNode | string;
}
declare function ErrorPage({ error }: ErrorPageProps): JSX.Element;

Expand Down
Loading

0 comments on commit 70ef415

Please sign in to comment.