Skip to content

Commit 4546ba1

Browse files
committed
todoコメントを戻した
1 parent d4a7654 commit 4546ba1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/[docs_id]/chatForm.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ export function ChatForm({
9595
console.log(result.error);
9696
} else {
9797
const aiMessage: ChatMessage = { sender: "ai", text: result.response };
98-
addChat(result.targetSectionId, [userMessage, aiMessage]);
98+
const chatId = addChat(result.targetSectionId, [userMessage, aiMessage]);
99+
// TODO: chatIdが指す対象の回答にフォーカス
99100
setInputValue("");
100101
close();
101102
}

0 commit comments

Comments
 (0)