{isSharingUpdatesEnabled && isInvitedPeopleScreen ? (
@@ -142,6 +165,25 @@ export default function ShareProjectModalContent({
{t('close')}
-
+ >
)
}
+
+const ShareProjectModalContentInnerFallback = () => {
+ const { t } = useTranslation()
+ return (
+ <>
+
+ {t('generic_something_went_wrong')}
+
+
+
+
+ >
+ )
+}
+
+const ShareProjectModalContentInnerWithErrorBoundary = withErrorBoundary(
+ ShareProjectModalContentInner,
+ () =>
+)
diff --git a/services/web/modules/full-project-search/frontend/js/components/full-project-search.tsx b/services/web/modules/full-project-search/frontend/js/components/full-project-search.tsx
index 8ddb7a83ca..12d1da6fdd 100644
--- a/services/web/modules/full-project-search/frontend/js/components/full-project-search.tsx
+++ b/services/web/modules/full-project-search/frontend/js/components/full-project-search.tsx
@@ -1,4 +1,6 @@
import React, { FC, lazy, Suspense } from 'react'
+import withErrorBoundary from '@/infrastructure/error-boundary'
+import { ErrorBoundaryFallback } from '@/shared/components/error-boundary-fallback'
const FullProjectSearchUI = lazy(() => import('./full-project-search-ui'))
@@ -10,4 +12,6 @@ const FullProjectSearch: FC = () => {
)
}
-export default FullProjectSearch
+export default withErrorBoundary(FullProjectSearch, () => (
+
+))