More defineProperty issues
This commit is contained in:
@ -25,9 +25,7 @@ export default function (props: ReportCardProps & { port?: MessagePort }) {
|
|||||||
const actionMap: { [k: number]: number } = {};
|
const actionMap: { [k: number]: number } = {};
|
||||||
|
|
||||||
for (let i = 0; i < props.target_ids.length; i++)
|
for (let i = 0; i < props.target_ids.length; i++)
|
||||||
Object.defineProperty(targetMap, props.target_ids[i], {
|
targetMap[props.target_ids[i]] = props.target_usernames[i];
|
||||||
value: props.target_usernames[i],
|
|
||||||
});
|
|
||||||
|
|
||||||
async function submitActions() {
|
async function submitActions() {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
|
Reference in New Issue
Block a user