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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user