Skip to content

Commit

Permalink
fix: hide receipt address on invalid data or mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Sep 18, 2024
1 parent 3537711 commit db40a58
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ export function TxReceiptAmount() {
value={amount}
className="text-xs tablet:text-sm"
/>
{!!contract && (
{!!contract && !!assetId && (
<Address
iconSize={14}
value={assetId}
className="text-xs tablet:text-sm font-mono"
className="text-xs tablet:text-sm font-mono hidden tablet:block"
linkProps={{
as: NextLink,
href: `/contract/${contract}/assets`,
Expand Down

0 comments on commit db40a58

Please sign in to comment.