Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaCehic95 committed Oct 10, 2023
1 parent fbd7632 commit c127733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/enterprise/src/pages/proposal/ProposalVoting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const ProposalVoting = () => {
<QueryDependant
{...tokenInfoQuery}
loading={() => <Spinner />}
error={() => dao.type == 'multisig' ? `${yesVotes.div(100)}/${totalAvailableVotes.div(100)} (
error={() => dao.type === 'multisig' ? `${yesVotes.div(100)}/${totalAvailableVotes.div(100)} (
${toPercents(getRatio(total, totalAvailableVotes).toNumber(), undefined, 2)})` : 'Failed to load token info'}
success={(tokenInfo) => {
return `${formatNumber(fromChainAmount(total.toString(), tokenInfo.decimals), { comma: true })}
Expand Down

0 comments on commit c127733

Please sign in to comment.