파일 정리
This commit is contained in:
@@ -463,11 +463,11 @@ export function GenomeIntegratedComparison({
|
||||
|
||||
setTrendLoading(true)
|
||||
try {
|
||||
const dashboardStats = await genomeApi.getDashboardStats(farmNo)
|
||||
const ebvStats = await genomeApi.getYearlyEbvStats(farmNo)
|
||||
|
||||
// yearlyStats와 yearlyAvgEbv 합치기
|
||||
const yearlyStats = dashboardStats.yearlyStats || []
|
||||
const yearlyAvgEbv = dashboardStats.yearlyAvgEbv || []
|
||||
const yearlyStats = ebvStats.yearlyStats || []
|
||||
const yearlyAvgEbv = ebvStats.yearlyAvgEbv || []
|
||||
|
||||
// 연도별 데이터 맵 생성
|
||||
const yearMap = new Map<number, { analyzedCount: number; avgEbv: number }>()
|
||||
|
||||
Reference in New Issue
Block a user