diff --git a/src/components/exam/ExamSection.tsx b/src/components/exam/ExamSection.tsx index 1949a57..672ea13 100644 --- a/src/components/exam/ExamSection.tsx +++ b/src/components/exam/ExamSection.tsx @@ -3,7 +3,7 @@ import type { ExamClient, ExamModalTab } from '../../data/mockData'; import { EXAM_TAGS } from '../../data/mockData'; import { getTodayExamProgress } from '../../api'; import { isExamActionDone } from '../../utils/examActions'; -import { Badge, Card, CardContent, CardHeader, InfoCard, Input } from '../ui'; +import { Badge, Button, Card, CardContent, CardHeader, InfoCard, Input } from '../ui'; import { cls } from '../../utils/cls'; interface ExamSectionProps { @@ -139,13 +139,21 @@ export const ExamSection = ({ -
+
setDebouncedInputValue(e.target.value)} - className='text-sm' + className='text-sm flex-1' /> + {debouncedInputValue && ( + + )}