Config chat share (#4700)

Config chat share
This commit is contained in:
so95
2025-02-07 09:35:49 +07:00
committed by GitHub
parent 4150805073
commit 44d798d8f0
7 changed files with 41 additions and 21 deletions

View File

@ -31,7 +31,7 @@ const FlowChatBox = () => {
useGetFileIcon();
const { t } = useTranslate('chat');
const { data: userInfo } = useFetchUserInfo();
const { data: cavasInfo } = useFetchFlow();
const { data: canvasInfo } = useFetchFlow();
return (
<>
@ -50,7 +50,7 @@ const FlowChatBox = () => {
key={buildMessageUuidWithRole(message)}
nickname={userInfo.nickname}
avatar={userInfo.avatar}
avatardialog={cavasInfo.avatar}
avatarDialog={canvasInfo.avatar}
item={message}
reference={buildMessageItemReference(
{ message: derivedMessages, reference },