diff --git a/frontend/components/collab/question-display.tsx b/frontend/components/collab/question-display.tsx index 1776ce9915..7694c85159 100644 --- a/frontend/components/collab/question-display.tsx +++ b/frontend/components/collab/question-display.tsx @@ -17,19 +17,17 @@ const difficultyColors = { Hard: "bg-red-500", }; - export default function QuestionDisplay({ roomId, className, date, - question + question, }: { roomId: string; className?: string; date?: Date; question: Question | null; }) { - if (!question) { return
Question not found
; }