Commit b4c59cfc authored by Moody Salem's avatar Moody Salem

chore: fix the double translation of 'For'

fixes https://github.com/Uniswap/uniswap-interface/issues/1800
parent 2326dfa1
...@@ -278,15 +278,12 @@ export default function VotePage({ ...@@ -278,15 +278,12 @@ export default function VotePage({
<CardSection> <CardSection>
<AutoColumn gap="md"> <AutoColumn gap="md">
<WrapSmall> <WrapSmall>
<Trans> <TYPE.black fontWeight={600}>
<TYPE.black fontWeight={600}> <Trans>For</Trans>
<Trans>For</Trans> </TYPE.black>
</TYPE.black> <TYPE.black fontWeight={600}>
<TYPE.black fontWeight={600}> {proposalData?.forCount?.toLocaleString(undefined, { maximumFractionDigits: 0 })}
{' '} </TYPE.black>
{proposalData?.forCount.toLocaleString(undefined, { maximumFractionDigits: 0 })}
</TYPE.black>
</Trans>
</WrapSmall> </WrapSmall>
</AutoColumn> </AutoColumn>
<ProgressWrapper> <ProgressWrapper>
...@@ -302,7 +299,7 @@ export default function VotePage({ ...@@ -302,7 +299,7 @@ export default function VotePage({
<Trans>Against</Trans> <Trans>Against</Trans>
</TYPE.black> </TYPE.black>
<TYPE.black fontWeight={600}> <TYPE.black fontWeight={600}>
{proposalData?.againstCount.toLocaleString(undefined, { maximumFractionDigits: 0 })} {proposalData?.againstCount?.toLocaleString(undefined, { maximumFractionDigits: 0 })}
</TYPE.black> </TYPE.black>
</WrapSmall> </WrapSmall>
</AutoColumn> </AutoColumn>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment