diff --git a/web/components/ui/Content/DesktopContent.tsx b/web/components/ui/Content/DesktopContent.tsx index 748851480..5da417754 100644 --- a/web/components/ui/Content/DesktopContent.tsx +++ b/web/components/ui/Content/DesktopContent.tsx @@ -1,10 +1,12 @@ import React, { ComponentType, FC } from 'react'; import dynamic from 'next/dynamic'; import { TabsProps } from 'antd'; +import { ErrorBoundary } from 'react-error-boundary'; import { SocialLink } from '../../../interfaces/social-link.model'; import styles from './Content.module.scss'; import { CustomPageContent } from '../CustomPageContent/CustomPageContent'; import { ContentHeader } from '../../common/ContentHeader/ContentHeader'; +import { ComponentError } from '../ComponentError/ComponentError'; export type DesktopContentProps = { name: string; @@ -58,7 +60,16 @@ export const DesktopContent: FC = ({ } return ( - <> + ( + + )} + >
= ({ !!extraPageContent && aboutTabContent )}
- +
); };