diff --git a/apps/portal/src/components/questions/forms/ContributeQuestionForm.tsx b/apps/portal/src/components/questions/forms/ContributeQuestionForm.tsx index 019b0165..29e1b3eb 100644 --- a/apps/portal/src/components/questions/forms/ContributeQuestionForm.tsx +++ b/apps/portal/src/components/questions/forms/ContributeQuestionForm.tsx @@ -202,10 +202,12 @@ export default function ContributeQuestionForm({ key={question.id} content={question.content} questionId={question.id} - timestamp={question.lastSeenAt?.toLocaleDateString(undefined, { - month: 'short', - year: 'numeric', - }) ?? null} + timestamp={ + question.lastSeenAt?.toLocaleDateString(undefined, { + month: 'short', + year: 'numeric', + }) ?? null + } type={question.questionType} onSimilarQuestionClick={() => { // eslint-disable-next-line no-console @@ -213,6 +215,9 @@ export default function ContributeQuestionForm({ }} /> ))} + {similarQuestions?.length === 0 && ( +
No similar questions found.
+ )}