import { MessageBox } from '@vertesia/ui/core'; import { VertesiaErrorBoundary } from './VertesiaErrorBoundary'; import { ReactNode } from 'react'; import { useUITranslation } from '../../i18n/index.js'; export function PanelErrorBoundary({ children }: { children: ReactNode }) { return ( {children} ); } function PanelErrorFallback({ error }: { error?: Error }) { const { t } = useUITranslation(); return ( {t('errors.teamNotifiedLine1')} {' '}{t('errors.teamNotifiedLine2')} support@vertesiahq.com. {error?.message && {error.message} } ); }
{error.message}