console.log(combinedData); ์ฐ์ผ๋ ์ด์ date๋ณ๋ก data๊ฐ ๋์ค๊ฒ ๋์๋ค. ํ์ง๋ง ๊ฐ์ ์์ฑ์ด ๋ค๋ฅธ ๊ณ์ข ๋ฐ์ดํฐ์ ํ๊ธ ๋ฐ์ดํฐ... ๋ฆฌํด๋ฌธ์ผ๋ก ๋ ๋๋งํ ๋ ์กฐ๊ธ ์ ๊ฒฝ์ ์จ์ค์ผ ํ๋ค export default function MonthConsumptionDetail({ combinedData, }: { combinedData: CombinedData[]; }) { const detailBoxRef = useRef(null); useEffect(() => { if (detailBoxRef.current) { const itemCount = combinedData?.reduce( (height, group) => height + group.data.length, 0 ) || 0; con..