We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4eb4b0a + ffd6398 commit 5db90d6Copy full SHA for 5db90d6
src/components/blocks/PracticePage/PracticePage.client.tsx
@@ -416,6 +416,7 @@ export default function PracticeClient() {
416
onChange={(e) => setInput(e.target.value)}
417
placeholder="답변을 입력하세요"
418
maxLength={300}
419
+ disabled={isAnswered}
420
className="w-full h-32 p-4 rounded border border-gray-600 bg-transparent resize-none focus:outline-none"
421
/>
422
<div className="flex float-right items-center mt-2 gap-4">
@@ -425,7 +426,7 @@ export default function PracticeClient() {
425
426
<button
427
className="bg-[#396FFB] px-5 py-1.5 rounded text-sm"
428
onClick={handleGrade}
- disabled={loading}
429
+ disabled={loading || isAnswered}
430
>
431
{loading ? "채점 중..." : "제출"}
432
</button>
0 commit comments