import { Link } from "react-router-dom"; import PlanLineList from "./PlanLineList"; import DeleteModal from "../Modal/DeleteModal"; import style from "./studyplan.module.scss"; const StudyPlanCard = ({ renList, handleEdit, delSubject }) => { return ( <>
{renList.name}
e.preventDefault()}>

{renList.prof && renList.room ? renList.prof + ' - ' + renList.room : (renList.prof || renList.room)}

) } export default StudyPlanCard;