Skip to content

Commit

Permalink
refactor: Update page component to display 'Dapp' or 'Address' based …
Browse files Browse the repository at this point in the history
…on dappName variable
  • Loading branch information
snoopy1412 committed Jul 9, 2024
1 parent 1a8cc01 commit 91fd6d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/sent_by/[address]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Page({ params, searchParams }: PageProps) {
<SearchBar />
</div>
<div className="py-4">
<span className="text-sm text-muted-foreground">Address</span>
<span className="text-sm text-muted-foreground">{dappName ? 'Dapp' : 'Address'}</span>
<header className={cn('text-base font-light text-foreground', CodeFont.className)}>
{dappName ? (
<AddressDisplayFilterDappRemark address={params?.address} className="gap-2" />
Expand Down

0 comments on commit 91fd6d7

Please sign in to comment.