diff --git a/src/common/components/proposal-votes/index.tsx b/src/common/components/proposal-votes/index.tsx index a7fafc9b21c..81793985b28 100644 --- a/src/common/components/proposal-votes/index.tsx +++ b/src/common/components/proposal-votes/index.tsx @@ -17,6 +17,7 @@ import "./_index.scss"; import { Modal, ModalBody, ModalHeader, ModalTitle } from "@ui/modal"; import { FormControl } from "@ui/input"; import { List, ListItem } from "@ui/list"; +import { Badge } from "@ui/badge"; interface Voter { name: string; @@ -200,34 +201,35 @@ export class ProposalVotesDetail extends BaseComponent { const strProxyHp = numeral(x.proxyHp).format("0.00,"); return ( - -
- {ProfileLink({ - ...this.props, - username: x.name, - children: - })} - -
+ + {ProfileLink({ + ...this.props, + username: x.name, + children: + })} +
+
{ProfileLink({ ...this.props, username: x.name, children: {x.name} })} - {accountReputation(x.reputation)} + + {accountReputation(x.reputation)} + +
+
+ {`${strHp} HP`} + {x.proxyHp > 0 && ( + <> + {" + "} + + {`${strProxyHp} HP`} + {" (proxy) "} + + + )}
-
-
- {`${strHp} HP`} - {x.proxyHp > 0 && ( - <> - {" + "} - - {`${strProxyHp} HP`} - {" (proxy) "} - - - )}
);