We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056e21e commit dab750cCopy full SHA for dab750c
frontend/src/app/collaboration/components/question.tsx
@@ -398,10 +398,14 @@ const Question = ({
398
{example.expected_output}
399
</span>
400
</div>
401
- <span className="font-bold text-xs">Explanation: </span>
402
- <span className="text-primary-400 tracking-wide text-xs">
403
- {example.explanation}
404
- </span>
+ {example.explanation && (
+ <div>
+ <span className="font-bold text-xs">Explanation: </span>
+ <span className="text-primary-400 tracking-wide text-xs">
405
+ {example.explanation}
406
+ </span>
407
+ </div>
408
+ )}
409
<br />
410
411
0 commit comments