import { useState } from 'react' import TicketingMovie from "../components/TicketingMovie/TicketingMovie" import TicketingTheater from "../components/TicketingTheater/TicketingTheater" import TicketingTimeTable from "../components/TicketingTimeTable" const TicketingPage = (location) => { // const [movieInfo, setMovieInfo] = useState(location) const [movieInfo, setMovieInfo] = useState({ movieId: "497698" }) const [theaterInfo, setTheaterInfo] = useState({ theater: "Butter 조치원", cinemaNum: [1, 2, 3, 4], selectedCinemaNum:0 }) return (