diff --git a/modules/motions/ui/MotionFormStartNew/Parts/StartNewCSMSettleElStealingPenalty.tsx b/modules/motions/ui/MotionFormStartNew/Parts/StartNewCSMSettleElStealingPenalty.tsx index 5abb2b12..83471d50 100644 --- a/modules/motions/ui/MotionFormStartNew/Parts/StartNewCSMSettleElStealingPenalty.tsx +++ b/modules/motions/ui/MotionFormStartNew/Parts/StartNewCSMSettleElStealingPenalty.tsx @@ -31,7 +31,7 @@ export const formParts = createMotionFormPart({ motionType: MotionType.CSMSettleElStealingPenalty, populateTx: async ({ evmScriptFactory, formData, contract }) => { const sortedNodeOperators = formData.nodeOperators - .map(id => Number(id)) + .map(({ id }) => Number(id)) .sort((a, b) => a - b) const encodedCallData = new utils.AbiCoder().encode(