mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: added error boundary
This commit is contained in:
@@ -79,7 +79,7 @@ class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundarySta
|
||||
}
|
||||
}
|
||||
|
||||
const ErrorBoundaryWrapper: React.FC<ErrorBoundaryProps> = ({ children }) => {
|
||||
const ErrorBoundaryWrapper = ({ children }: ErrorBoundaryProps) => {
|
||||
return <ErrorBoundary>{children}</ErrorBoundary>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user