Skip to content

Commit 288a06f

Browse files
committed
hotfix : disabled 조건 조정
1 parent f889846 commit 288a06f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/workspace/interview/session/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ function InterviewSessionContent(
456456
<div className="mt-auto">
457457
{!isAnswering ? (
458458
<Button className="w-full bg-[#8FD694] hover:bg-[#7ac47f] text-white"
459+
disabled={isFeedbackLoading || isQuestionLoading}
459460
onClick={async () => {
460461
if (wsRef.current && wsRef.current.isConnected()) {
461462
handleStartAnswering()
@@ -483,7 +484,7 @@ function InterviewSessionContent(
483484
<Button
484485
className="w-full bg-blue-600 hover:bg-blue-700 text-white"
485486
onClick={handleSubmit}
486-
disabled={isSubmitting || isProcessing || !canSubmit || !isFeedbackLoading || !isQuestionLoading}
487+
disabled={isSubmitting || isProcessing || !canSubmit || isFeedbackLoading || isQuestionLoading}
487488
>
488489
{isSubmitting ? <Loader2 className="animate-spin w-4 h-4 mr-2" /> : null}
489490
답변 제출 {timer > 90 && `${timer - 90}초 남았어요!`}

0 commit comments

Comments
 (0)