diff --git a/src/app/(withAuth)/problems/[problemId]/CheckpointProblem.tsx b/src/app/(withAuth)/problems/[problemId]/CheckpointProblem.tsx index 2aa80238..6b5f5813 100644 --- a/src/app/(withAuth)/problems/[problemId]/CheckpointProblem.tsx +++ b/src/app/(withAuth)/problems/[problemId]/CheckpointProblem.tsx @@ -15,7 +15,7 @@ interface CheckpointProblemProps { setStep: (step: ProblemType) => void; } -export const CheckpointProblem: React.FC = ({ problemId, setStep }) => { +export const CheckpointProblem: React.FC = ({ problemId }) => { const turtleGraphicsRef = useRef(null); const [selectedLanguageId, setSelectedLanguageId] = useState(''); @@ -50,7 +50,7 @@ export const CheckpointProblem: React.FC = ({ problemId, setCurrentCheckPointLine(getCheckPointLines[getCheckPointLines.indexOf(currentCheckPointLine) + 1]); } else { alert('不正解です'); - setStep('step'); + // setStep('step'); } };