import { Link } from "react-router-dom"; import styles from "./studyplan.module.scss"; const PlanLineList = ({ subjectId, planList = [], handleClick }) => { return ( <> {planList.length !== 0 ? planList.map(plan =>
- {plan.title}
handleClick(e, plan.id, plan.checked)} />
) :

새로운 계획 추가하기

} ) } export default PlanLineList