ํƒ€์ž…์Šคํฌ๋ฆฝํŠธ๋กœ ์†์„ฑ์ด ๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌํ•˜๊ธฐ

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(์ง€์€)
'ํƒ€์ž…์Šคํฌ๋ฆฝํŠธ๋กœ ์†์„ฑ์ด ๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌํ•˜๊ธฐ' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก