diff --git a/components/ReportCard.tsx b/components/ReportCard.tsx index 585e136..23ceabb 100644 --- a/components/ReportCard.tsx +++ b/components/ReportCard.tsx @@ -162,9 +162,7 @@ export default function (props: ReportCardProps) { { - Object.defineProperty(actionMap, props.target_ids[i], { - value: parseInt(val), - }); + actionMap[props.target_ids[i]] = parseInt(val); }} >