Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added error boundary

Daniel Hougaardc50e325f5396
diff --git a/frontend/src/layouts/AppLayout/ErrorBoundary.tsx b/frontend/src/layouts/AppLayout/ErrorBoundary.tsx
index cce9885ab7..d9128d0eee 100644
--- a/frontend/src/layouts/AppLayout/ErrorBoundary.tsx
+++ b/frontend/src/layouts/AppLayout/ErrorBoundary.tsx
@@ -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>;
};