diff --git a/src/components/graph/adSummary/AdSummary.tsx b/src/components/graphs/adSummary/AdSummary.tsx similarity index 98% rename from src/components/graph/adSummary/AdSummary.tsx rename to src/components/graphs/adSummary/AdSummary.tsx index a3ebde3..bedf2bd 100644 --- a/src/components/graph/adSummary/AdSummary.tsx +++ b/src/components/graphs/adSummary/AdSummary.tsx @@ -22,20 +22,20 @@ let optionData = { }; const AdSummary = () => { + const [series, srtSeries] = useState(seriesData); + const [options, setOptions] = useState(optionData); + const [windowSize, setWindowSize] = useState(window.innerWidth); useEffect(() => { const handelResize = () => setWindowSize(window.innerWidth); window.addEventListener("resize", handelResize); return () => window.removeEventListener("resize", handelResize); }, [windowSize]); - console.log(windowSize); - const [series, srtSeries] = useState(seriesData); - const [options, setOptions] = useState(optionData); + return (

광고 요약 보고서

최근 3개월 광고비/매출

-