Commit 8a149939 authored by Kim, Subin's avatar Kim, Subin
Browse files

MovieChart -> BoxOffice 로 변경

parent 17d6ae7c
import { useEffect } from "react"
import styles from "./moviechart.module.scss"
import styles from "./boxofficechart.module.scss"
const MovieChart = () => {
const BoxOffice = () => {
useEffect(() => {
let items = document.querySelectorAll('.carousel .carousel-item')
console.log("item", items)
......@@ -106,4 +106,4 @@ const MovieChart = () => {
)
}
export default MovieChart
\ No newline at end of file
export default BoxOffice
\ No newline at end of file
export { default } from './BoxOffice'
\ No newline at end of file
export { default } from './MovieChart'
\ No newline at end of file
import MainNav from "../components/Navs/MainNav";
import MovieChart from "../components/MovieChart";
import BoxOffice from "../components/BoxOffice";
import Collection from "../components/Collection";
import Footer from "../components/Footer";
......@@ -7,7 +7,7 @@ const HomePage = () => {
return (
<div className="bg-dark">
<MainNav />
<MovieChart />
<BoxOffice />
<Collection />
<Footer />
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment