import { useState, useEffect } from 'react'; import { useAuth } from "../utils/context.js" import { Link } from "react-router-dom"; import StudyPlanCard from "./Card/StudyPlanCard.js"; import subjectApi from '../apis/subject.api.js'; const StudyPlanList = () => { const { user } = useAuth(); useEffect(() => { getList(user.id); }, []) async function getList(id) { const result = await subjectApi.allSubject(id) } return ( <>

새로운 과목 추가하기

) } export default StudyPlanList;