diff --git a/projects/app/src/pages/chat/share.tsx b/projects/app/src/pages/chat/share.tsx index 181509b8a24..a8d9dac4b46 100644 --- a/projects/app/src/pages/chat/share.tsx +++ b/projects/app/src/pages/chat/share.tsx @@ -49,12 +49,14 @@ const OutLink = ({ appName, appIntro, appAvatar }: Props) => { shareId = '', chatId = '', showHistory = '1', + showHead = '1', authToken, ...customVariables } = router.query as { shareId: string; chatId: string; showHistory: '0' | '1'; + showHead: '0' | '1', authToken: string; [key: string]: string; }; @@ -294,12 +296,16 @@ const OutLink = ({ appName, appIntro, appAvatar }: Props) => { flexDirection={'column'} > {/* header */} - + ) : ( + null + )} {/* chat box */}