diff --git a/web/components/layouts/Main/Main.tsx b/web/components/layouts/Main/Main.tsx index 09a1a646d..7450f3a6e 100644 --- a/web/components/layouts/Main/Main.tsx +++ b/web/components/layouts/Main/Main.tsx @@ -6,6 +6,7 @@ import { FC, useEffect, useRef } from 'react'; import { Layout } from 'antd'; import dynamic from 'next/dynamic'; import Script from 'next/script'; +import { ErrorBoundary } from 'react-error-boundary'; import { ClientConfigStore, isChatAvailableSelector, @@ -139,8 +140,17 @@ export const Main: FC = () => { {name} )} - - + ( + + )} + > + +