diff --git a/src/components/ProposalBuilder/ProposalTransaction.tsx b/src/components/ProposalBuilder/ProposalTransaction.tsx index 3498ffc450..4cad51e231 100644 --- a/src/components/ProposalBuilder/ProposalTransaction.tsx +++ b/src/components/ProposalBuilder/ProposalTransaction.tsx @@ -65,9 +65,10 @@ export default function ProposalTransaction({ return ( + {/* TRANSACTION TARGET ADDRESS */} )} + + + {/* FUNCTION SPECIFICATION */} - + + {/* TRANSACTION PARAMETERS LIST */} + {({ isExpanded }) => ( <> - + {/* TRANSACTION PARAMETER HEADER */} + { setExpandedIndecies(indexArray => { @@ -169,6 +181,8 @@ export default function ProposalTransaction({ + + {/* Remove parameter button */} {i !== 0 || transaction.parameters.length !== 1 ? ( } @@ -193,12 +207,11 @@ export default function ProposalTransaction({ )} + + {/* TRANSACTION PARAMETER SECTION */} - - + + + {!isExpanded && ( )} + + {/* ADD PARAMETER BUTTON */} {i === transaction.parameters.length - 1 && (