Skip to content

Commit c732262

Browse files
committed
Merge branch 'dev' into feature/사용자-로그인-유지-기한-관리
2 parents 879fbc4 + 904b4c5 commit c732262

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/pages/Chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const Chat = () => {
3636
const [isOpen, setIsOpen] = useState(false);
3737
const bottomRef = useRef<HTMLDivElement>(null);
3838

39-
const chatTitle = mode === "fastFriend" ? `${mbti} 대화` : `${name} 대화`;
39+
const chatTitle = name ? `${name} 대화` : `${mbti} 대화`;
4040
const assistantImgUrl = pickMbtiImage(mbti);
4141
const storageKey = `chatMessages_${id}`;
4242

src/pages/SelectInfo.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ const SelectInfo = () => {
216216
state: {
217217
mbti,
218218
mode: type,
219-
id: responseData
219+
id: responseData,
220+
name
220221
}
221222
});
222223
}

0 commit comments

Comments
 (0)