Skip to content

Commit 7bc532a

Browse files
committed
Display qn complexity in collab space
1 parent 4017d96 commit 7bc532a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/src/components/collab/QuestionDisplay.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const QuestionDisplay = ({ question }) => {
1313

1414
return (
1515
<Card>
16-
<Card.Header>{question ? question.title : "Loading..."}</Card.Header>
16+
<Card.Header>{question ? `${question.title} (${question.complexity})` : "Loading..."}</Card.Header>
1717
<Card.Body style={{textAlign: 'left'}}>
1818
<p>{question ? question.category.join(", ") : "Loading question description..."}</p>
1919
<p>{question ? question.description : "Loading question description..."}</p>

0 commit comments

Comments
 (0)