Commit
Show the question as plain serif text
commit
ebb63e0
1 changed file with +2 and −5
modified client/src/components/QuestionCard.tsx +2 −5
| @@ -3,12 +3,9 @@interface QuestionCardProps { | ||
| 3 | 3 | } |
| 4 | 4 | |
| 5 | 5 | export function QuestionCard({ question }: QuestionCardProps) { |
| 6 | - if (!question) return null | |
| 7 | - | |
| 8 | 6 | return ( |
| 9 | - <div className="question-card"> | |
| 10 | - <span className="question-label">Interviewer asks</span> | |
| 11 | - <p className="question-text">{question}</p> | |
| 7 | + <div className="question" key={question ?? 'intro'}> | |
| 8 | + <p className="question-text">{question ?? 'Tell me about the thing you want to build.'}</p> | |
| 12 | 9 | </div> |
| 13 | 10 | ) |
| 14 | 11 | } |