From 0d4c48752d612fdb566f78942619ffccab727fd7 Mon Sep 17 00:00:00 2001 From: Arvin Xu Date: Tue, 7 Jan 2025 20:12:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20fix=20portal=20suspense?= =?UTF-8?q?=20error=20when=20first=20open=20(#5322)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(main)/chat/(workspace)/_layout/Desktop/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/(main)/chat/(workspace)/_layout/Desktop/index.tsx b/src/app/(main)/chat/(workspace)/_layout/Desktop/index.tsx index 2f9e3ad64702..778d58ff0794 100644 --- a/src/app/(main)/chat/(workspace)/_layout/Desktop/index.tsx +++ b/src/app/(main)/chat/(workspace)/_layout/Desktop/index.tsx @@ -1,5 +1,8 @@ +import { Suspense } from 'react'; import { Flexbox } from 'react-layout-kit'; +import BrandTextLoading from '@/components/Loading/BrandTextLoading'; + import { LayoutProps } from '../type'; import ChatHeader from './ChatHeader'; import HotKeys from './HotKeys'; @@ -24,7 +27,9 @@ const Layout = ({ children, topic, conversation, portal }: LayoutProps) => { {conversation} {children} - {portal} + + }>{portal} + {topic}