Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More defineProperty issues
  • Loading branch information
regalijan committed Nov 3, 2023
1 parent a712282 commit 7344545
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/ReportCard.tsx
Expand Up @@ -25,9 +25,7 @@ export default function (props: ReportCardProps & { port?: MessagePort }) {
const actionMap: { [k: number]: number } = {};

for (let i = 0; i < props.target_ids.length; i++)
Object.defineProperty(targetMap, props.target_ids[i], {
value: props.target_usernames[i],
});
targetMap[props.target_ids[i]] = props.target_usernames[i];

async function submitActions() {
setLoading(true);
Expand Down

0 comments on commit 7344545

Please sign in to comment.