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.prof && renList.room ? renList.prof + ' - ' + renList.room : (renList.prof || renList.room)}