diff --git a/src/app/governance/components/ProjectRow.tsx b/src/app/governance/components/ProjectRow.tsx index ec778d6..445fe5c 100644 --- a/src/app/governance/components/ProjectRow.tsx +++ b/src/app/governance/components/ProjectRow.tsx @@ -90,42 +90,51 @@ export function VoteForm({ const isDisabled = user.status !== "CONNECTED" || !userCanVote; return ( -
- -
- -
-
- +
+ +
+ +
+
+ { + updateValue( + event.target.value ? parseInt(event.target.value) : 0, + address + ); + }} + value={value === null ? "00" : value} + disabled={isDisabled} + /> + +
+ +
+
+
+
{ - updateValue( - event.target.value ? parseInt(event.target.value) : 0, - address - ); - }} - value={value === null ? "00" : value} - disabled={isDisabled} - /> - -
- -
-
-
{formatVotePercentage(value ? (value / totalPoints) * 100 : 0)}%