diff --git a/components/widgets/forest-change/tree-loss-plantations/selectors.js b/components/widgets/forest-change/tree-loss-plantations/selectors.js index c63206ecef..bd1f4816e7 100644 --- a/components/widgets/forest-change/tree-loss-plantations/selectors.js +++ b/components/widgets/forest-change/tree-loss-plantations/selectors.js @@ -54,7 +54,8 @@ export const parseData = createSelector( areaLoss: summedPlatationsLoss || 0, totalLoss: totalLossForYear.area || 0, outsideCo2Loss: - totalLossByYear[d.year][0].emissions - summedPlatationsEmissions, + totalLossByYear[d.year]?.[0]?.emissions - + summedPlatationsEmissions, co2Loss: summedPlatationsEmissions || 0, }; return returnData;