We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 879fbc4 + 904b4c5 commit c732262Copy full SHA for c732262
src/pages/Chat.tsx
@@ -36,7 +36,7 @@ const Chat = () => {
36
const [isOpen, setIsOpen] = useState(false);
37
const bottomRef = useRef<HTMLDivElement>(null);
38
39
- const chatTitle = mode === "fastFriend" ? `${mbti}와 대화` : `${name}과 대화`;
+ const chatTitle = name ? `${name}과 대화` : `${mbti}와 대화`;
40
const assistantImgUrl = pickMbtiImage(mbti);
41
const storageKey = `chatMessages_${id}`;
42
src/pages/SelectInfo.tsx
@@ -216,7 +216,8 @@ const SelectInfo = () => {
216
state: {
217
mbti,
218
mode: type,
219
- id: responseData
+ id: responseData,
220
+ name
221
}
222
});
223
0 commit comments