Skip to content

Commit

Permalink
feat(usd wallet): fixed typing
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-bc committed Sep 9, 2020
1 parent 0bb7d14 commit 0a20ad9
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ const Success: React.FC<Props> = props => {
{props.userData.firstName} {props.userData.lastName}
</Value>
</Row>
{props.fiatCurrency === 'USD' && (
{props.account.currency === 'USD' && (
<RowCopy>
<div>
<Title>
Expand All @@ -279,13 +279,11 @@ const Success: React.FC<Props> = props => {
/>
</Title>
<Value data-e2e='sbRecipientAddress'>
{(props.account.agent as AgentType).address}
{props.account.agent.address}
</Value>
</div>
<Copy>
<CopyClipboardButton
address={(props.account.agent as AgentType).address}
/>
<CopyClipboardButton address={props.account.agent.address} />
</Copy>
</RowCopy>
)}
Expand Down

0 comments on commit 0a20ad9

Please sign in to comment.