Skip to content

Commit

Permalink
Update Name List
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Mar 17, 2024
1 parent 112006a commit 908fa13
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions web/src/txHistory/TransactionEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,28 @@ export const TransactionEntry: FC<{ txHash: EtherscanTx }> = ({ txHash }) => {
id={'car-' + txHash.hash}
className="hidden"
/>
<div className="whitespace-break-spaces break-words w-full overflow-hidden bg-light-background-secondary rounded-lg p-4 open-if-checkbox">
<span>{JSON.stringify(txHash)}</span>
<div className="open-if-checkbox space-y-2">
<div className="flex gap-2 border border-light-border dark:border-dark-border p-2 rounded-lg">
<div>Names</div>
<div>
<ul className="grid grid-cols-2 gap-2">
{inputData?.args[0].map((name, _index) => (
<li>
<a
href={'https://ens.app/' + name}
className="link"
target="_blank"
>
{name}
</a>
</li>
))}
</ul>
</div>
</div>
<div className="whitespace-break-spaces break-words w-full overflow-hidden bg-light-background-secondary rounded-lg p-4">
<span>{JSON.stringify(txHash)}</span>
</div>
</div>
</div>
);
Expand Down

0 comments on commit 908fa13

Please sign in to comment.