Skip to content

Commit 23d3ed4

Browse files
authored
Feat: Add question details on Question Display (#103)
1 parent a87f8b8 commit 23d3ed4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui-services/question-ui-service/src/exports/QuestionDisplayWindow.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ const QuestionDisplay: React.FC<QuestionDisplayProps> = ({ questionId }) => {
5151
<h2 className="text-xl font-semibold mb-2 text-white break-words">
5252
{question.title}
5353
</h2>
54+
<p className="text-sm text-gray-400 mb-3">
55+
{question.topics.join(", ")}{question.difficulty ?? "Unknown"}
56+
</p>
5457
<div className="flex flex-wrap gap-2 mb-2">
5558
{question.hints.map((hint, index) => (
5659
<HintDialog key={index} hint={hint} index={index} />

0 commit comments

Comments
 (0)