Skip to content

Commit

Permalink
refactor: output contract address
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley committed Nov 18, 2024
1 parent 04e1cd8 commit 3dec31e
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions resources/views/components/transaction/page/addressing.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ class="inline-block"
/>
</x-transaction.page.section-detail.row>

@if ($transaction->isTransfer())
<x-transaction.page.section-detail.row
:title="trans('pages.transaction.header.to')"
:transaction="$transaction"
>
<x-transaction.page.section-detail.address
:address="$transaction->recipient()->address()"
class="inline-block"
/>
</x-transaction.page.section-detail.row>
@endif
<x-transaction.page.section-detail.row
:title="trans('pages.transaction.header.to')"
:transaction="$transaction"
>
<x-transaction.page.section-detail.address
:address="$transaction->recipient()->address()"
class="inline-block"
/>
</x-transaction.page.section-detail.row>
</x-general.page-section.container>

0 comments on commit 3dec31e

Please sign in to comment.