fix build error

This commit is contained in:
RandyJC
2025-12-08 15:43:32 +01:00
parent e5fd5d52f0
commit eefb5b01f1

View File

@@ -458,7 +458,9 @@ const QuizEditor = ({ quizzList, onBack, onListUpdate }: Props) => {
<div className="grid grid-cols-2 gap-3">
<label className="flex flex-col gap-1">
<span className="text-sm font-semibold text-gray-600">Cooldown (s)</span>
<span className="text-sm font-semibold text-gray-600">
Cooldown (s)
</span>
<Input
type="number"
value={question.cooldown}
@@ -471,7 +473,9 @@ const QuizEditor = ({ quizzList, onBack, onListUpdate }: Props) => {
/>
</label>
<label className="flex flex-col gap-1">
<span className="text-sm font-semibold text-gray-600">Answer time (s)</span>
<span className="text-sm font-semibold text-gray-600">
Answer time (s)
</span>
<Input
type="number"
value={question.time}
@@ -646,7 +650,8 @@ const QuizEditor = ({ quizzList, onBack, onListUpdate }: Props) => {
</div>
</div>
</div>
))}
)
})}
<div className="flex justify-center">
<Button className="bg-blue-600" onClick={addQuestion}>