diff --git a/applications/osb-portal/src/components/handlers/OSBErrorBoundary.tsx b/applications/osb-portal/src/components/handlers/OSBErrorBoundary.tsx index 8717a6a3..21ff4a5a 100644 --- a/applications/osb-portal/src/components/handlers/OSBErrorBoundary.tsx +++ b/applications/osb-portal/src/components/handlers/OSBErrorBoundary.tsx @@ -68,7 +68,7 @@ class OSBErrorBoundary extends React.Component if (nextProps.error) { return { ...prevState, hasError: 'true', message: nextProps.error }; } - return null; + return { ...prevState }; } render() {