refactor(conversation): extract main panel component
This commit is contained in:
1 parent
f74d625e5a
commit
0220ec4989
1 file changed
+5
-1
@@ -128,7 +128,11 @@ function WidthHandle(props: {
|
||||
)
|
||||
}
|
||||
|
||||
export function ConversationRoot({
|
||||
export function ConversationRoot(props: ConversationRootProps) {
|
||||
return <ConversationMainPanel {...props} />
|
||||
}
|
||||
|
||||
function ConversationMainPanel({
|
||||
sessionId, useSession, useSessions, useSessionPendingInteraction,
|
||||
useWorkspaces, useConversation, useInput, useComposerBlock,
|
||||
renderSlot, renderSlotChain, selectWorkspace, t,
|
||||
|
||||
Reference in new issue
Block a user