From df88df1b55571b88e279f8698331e4eb81fa908c Mon Sep 17 00:00:00 2001 From: soohyuniii Date: Fri, 2 May 2025 17:42:23 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=B9=A0=EB=A5=B8=20=EC=B1=84=ED=8C=85?= =?UTF-8?q?=20=EC=9D=B4=EB=A6=84=20=EB=9D=84=EC=9A=B0=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Chat.tsx | 2 +- src/pages/SelectInfo.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/Chat.tsx b/src/pages/Chat.tsx index ee87ba3..bf0cf08 100644 --- a/src/pages/Chat.tsx +++ b/src/pages/Chat.tsx @@ -36,7 +36,7 @@ const Chat = () => { const [isOpen, setIsOpen] = useState(false); const bottomRef = useRef(null); - const chatTitle = mode === "fastFriend" ? `${mbti}와 대화` : `${name}과 대화`; + const chatTitle = name ? `${name}과 대화` : `${mbti}와 대화`; const assistantImgUrl = pickMbtiImage(mbti); const storageKey = `chatMessages_${id}`; diff --git a/src/pages/SelectInfo.tsx b/src/pages/SelectInfo.tsx index b1db917..9b32639 100644 --- a/src/pages/SelectInfo.tsx +++ b/src/pages/SelectInfo.tsx @@ -216,7 +216,8 @@ const SelectInfo = () => { state: { mbti, mode: type, - id: responseData + id: responseData, + name } }); }