diff --git a/packages/plugins/@hera/plugin-core/src/client/components/custom-components/ErrorBoundary.tsx b/packages/plugins/@hera/plugin-core/src/client/components/custom-components/ErrorBoundary.tsx index e7a40f2e7..69ad7161d 100644 --- a/packages/plugins/@hera/plugin-core/src/client/components/custom-components/ErrorBoundary.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/components/custom-components/ErrorBoundary.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from 'react'; import { useTranslation } from '../../locale'; -export const ErrorBoundary = ({ children, fallback }) => { +export const ErrorBoundary = ({ children, fallback = null }) => { const { t } = useTranslation(); const [hasError, setHasError] = useState(false);