1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-08 16:20:40 +02:00

Update answers

This commit is contained in:
Kamran Ahmed
2025-06-25 23:01:37 +01:00
parent 2420a207c3
commit 1309b2fab3

View File

@@ -259,7 +259,7 @@ export function QuestionAnswerChat(props: QuestionAnswerChatProps) {
value={message} value={message}
onChange={(e) => setMessage(e.target.value)} onChange={(e) => setMessage(e.target.value)}
className="w-full bg-transparent text-sm focus:outline-none" className="w-full bg-transparent text-sm focus:outline-none"
placeholder="Type your own answer..." placeholder={activeMessage.possibleAnswers ? "Type your answer..." : "Or type your own answer..."}
autoFocus autoFocus
onKeyDown={(e) => { onKeyDown={(e) => {
if (e.key === 'Enter' && !e.shiftKey) { if (e.key === 'Enter' && !e.shiftKey) {