diff --git a/src/app/(withAuth)/courses/[courseId]/lectures/[lectureId]/problems/[problemId]/ProblmBody.tsx b/src/app/(withAuth)/courses/[courseId]/lectures/[lectureId]/problems/[problemId]/ProblmBody.tsx index 0c89f271..2f241f5b 100644 --- a/src/app/(withAuth)/courses/[courseId]/lectures/[lectureId]/problems/[problemId]/ProblmBody.tsx +++ b/src/app/(withAuth)/courses/[courseId]/lectures/[lectureId]/problems/[problemId]/ProblmBody.tsx @@ -1,9 +1,7 @@ import type { ProblemSession } from '@prisma/client'; import { useRouter } from 'next/navigation'; import { useEffect, useRef, useState } from 'react'; -import { MdOutlineInfo } from 'react-icons/md'; -import { CustomModal } from '../../../../../../../../components/molecules/CustomModal'; import { AlertDialog, AlertDialogBody, @@ -16,7 +14,6 @@ import { Card, Heading, HStack, - Icon, Tooltip, useDisclosure, VStack, @@ -46,7 +43,6 @@ export const ProblemBody: React.FC = (props) => { problemType === 'executionResult' ? props.problem.traceItems.length - 1 : props.problemSession.traceItemIndex; const previousTraceItemIndex = problemType === 'executionResult' ? 0 : currentTraceItemIndex - 1; - const { isOpen: isHelpModalOpen, onClose: onHelpModalClose, onOpen: onHelpModalOpen } = useDisclosure(); const { isOpen: isAlertOpen, onClose: onAlertClose, onOpen: onAlertOpen } = useDisclosure(); const cancelRef = useRef(null); @@ -136,18 +132,6 @@ export const ProblemBody: React.FC = (props) => { の盤面を作成してください。 - - - - - void; -} - -export const CustomModal: React.FC = ({ body, isOpen, onClose, title }) => { - return ( - <> - - - - {title} - - {body} - - - - - - - ); -};