์†์„ฑ์ด ๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ๋“ค์„ ๊ฐ™์€ ๊ตฌ์„ฑ์œผ๋กœ ๋ Œ๋”๋งํ•˜๊ธฐ

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..
becky(์ง€์€)
'์†์„ฑ์ด ๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ๋“ค์„ ๊ฐ™์€ ๊ตฌ์„ฑ์œผ๋กœ ๋ Œ๋”๋งํ•˜๊ธฐ' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก