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

MovieChart -> BoxOffice 로 변경

parent 17d6ae7c
import { useEffect } from "react" import { useEffect } from "react"
import styles from "./moviechart.module.scss" import styles from "./boxofficechart.module.scss"
const MovieChart = () => { const BoxOffice = () => {
useEffect(() => { useEffect(() => {
let items = document.querySelectorAll('.carousel .carousel-item') let items = document.querySelectorAll('.carousel .carousel-item')
console.log("item", items) console.log("item", items)
...@@ -106,4 +106,4 @@ const MovieChart = () => { ...@@ -106,4 +106,4 @@ const MovieChart = () => {
) )
} }
export default MovieChart export default BoxOffice
\ No newline at end of file \ 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 MainNav from "../components/Navs/MainNav";
import MovieChart from "../components/MovieChart"; import BoxOffice from "../components/BoxOffice";
import Collection from "../components/Collection"; import Collection from "../components/Collection";
import Footer from "../components/Footer"; import Footer from "../components/Footer";
...@@ -7,7 +7,7 @@ const HomePage = () => { ...@@ -7,7 +7,7 @@ const HomePage = () => {
return ( return (
<div className="bg-dark"> <div className="bg-dark">
<MainNav /> <MainNav />
<MovieChart /> <BoxOffice />
<Collection /> <Collection />
<Footer /> <Footer />
</div> </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