diff --git a/web/app/components/share/chat/index.tsx b/web/app/components/share/chat/index.tsx index 31bc37766..23fc19936 100644 --- a/web/app/components/share/chat/index.tsx +++ b/web/app/components/share/chat/index.tsx @@ -570,8 +570,11 @@ const Main: FC = ({ if (appUnavailable) return - if (!appId || !siteInfo || !promptConfig) - return + if (!appId || !siteInfo || !promptConfig) { + return
+ +
+ } return (
@@ -611,7 +614,7 @@ const Main: FC = ({ )} {/* main */}
diff --git a/web/app/components/share/chatbot/index.tsx b/web/app/components/share/chatbot/index.tsx index 5602294c4..a9c77402e 100644 --- a/web/app/components/share/chatbot/index.tsx +++ b/web/app/components/share/chatbot/index.tsx @@ -494,8 +494,11 @@ const Main: FC = ({ if (appUnavailable) return - if (!appId || !siteInfo || !promptConfig) - return + if (!appId || !siteInfo || !promptConfig) { + return
+ +
+ } return (