Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Jun 30, 2023
1 parent 7afd34b commit 314f591
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ export const Simple: TransactionSimpleComponent = ({

return (
<>
<SimpleRow label={t('holder')} data-test="holder">
<Account account={holder} />
</SimpleRow>
{holder && (
<SimpleRow label={t('holder')} data-test="holder">
<Account account={holder} />
</SimpleRow>
)}
{amount && (
<SimpleRow label={t('amount')} data-test="amount">
<Amount value={amount} displayIssuer />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export interface Clawback extends TransactionCommonFields {

export interface ClawbackInstructions {
amount?: { currency: string; amount: number; issuer?: string }
holder: string
holder?: string
}

0 comments on commit 314f591

Please sign in to comment.