Skip to content

Commit

Permalink
update sdk and add transcation icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenlejoe committed Dec 1, 2023
1 parent 60e9210 commit 357ba1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@covalenthq/client-sdk": "^0.6.5",
"@covalenthq/client-sdk": "^0.6.6",
"@headlessui/react": "^1.7.17",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ const columns: ColumnDef<BlockTransactionWithContractTransfers>[] = [
cell: ({ row }) => {
const txHash: string = row.getValue("tx_hash");
return (
<div className="flex items-center gap-x-2">
<a className="flex items-center gap-x-2" target="_blank" rel="noopener noreferrer" href={row.original.transfers[0].explorers[0].url}>
{truncate(txHash)}
<IconWrapper
iconClassName="open_in_new"
className="h-3 w-3"
iconSize="text-sm text-black dark:text-white"
/>
</div>
</a>
);
},
},
Expand Down

0 comments on commit 357ba1e

Please sign in to comment.