Skip to content

Commit

Permalink
feat(borrow): remove amount from interest rate in details
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Feb 25, 2020
1 parent 5f46d25 commit 08301c4
Showing 1 changed file with 2 additions and 10 deletions.
Expand Up @@ -63,18 +63,10 @@ const Summary: React.FC<Props> = props => {
<Title>
<FormattedMessage
id='modals.borrow.summary.intrateandamount'
defaultMessage='Interest Rate / Amount'
defaultMessage='Interest Rate'
/>
</Title>
<Value>
{props.offer.terms.interestRate * 100}% /{' '}
{props.principal
? formatFiat(
props.offer.terms.interestRate * Number(props.principal)
)
: formatFiat(0)}{' '}
{principalDisplayName}
</Value>
<Value>{props.offer.terms.interestRate * 100}%</Value>
</TableRow>
<TableRow>
<Title>
Expand Down

0 comments on commit 08301c4

Please sign in to comment.