mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 06:28:11 +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>;
|
return <ErrorBoundary>{children}</ErrorBoundary>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user