import { useState, useEffect } from 'react' import TicketFeeTable from '../components/Admin/TicketFeeTable' import TheaterInfo from '../components/TheaterInfo' import theaterApi from '../apis/theater.api.js' import catchErrors from "../utils/catchErrors.js"; const TheaterPage = () => { const [theaterTypeList, setTheaterTypeList] = useState([]) const [state, setState] = useState(0) const [selectTheater, setSelectTheater] = useState(0) const [error, setError] = useState("") useEffect(() => { getTicketFeeInfo() }, []) async function getTicketFeeInfo() { try { setError("") const res = await theaterApi.getTheaterType() setTheaterTypeList(res) } catch (error) { catchErrors(error, setError) } } return (
상영시간표
) } export default TheaterPage