Skip to content

Commit

Permalink
fix owner
Browse files Browse the repository at this point in the history
  • Loading branch information
bend-n committed Feb 25, 2024
1 parent 52e9acd commit 7cf2b99
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/app/evm/contracts/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { evm_contract_by_id } from "@/graphql/queries";
import { Contract } from "@/graphql/types";
import ImportToken from "@/components/ImportToken";
import QRCode from "react-qr-code";
import Link from "next/link";
function page() {
return (
<div className="px-4 sm:px-20 md:px-60 lg:px-80 mt-6">
Expand Down Expand Up @@ -88,14 +89,25 @@ function EvmContractAccount({ }): React.ReactElement {
<div className="flex flex-row items-center gap-2">
<p className="text-md overflow-hidden">
<span className="font-semibold mr-2 text-xl">Address:</span>
{item.account}
{item.id}
</p>
<Copy
size="16px"
color="gray"
onClick={() => navigator.clipboard.writeText(item.account)}
onClick={() => navigator.clipboard.writeText(item.id)}
/>
</div>
<div className="flex flex-row items-center gap-2">
<Link
href={`/accounts/${item.account}`}
className="flex items-center gap-2"
>
<p className="text-md overflow-hidden text-sel_blue">
<span className="font-semibold mr-2 text-xl text-black">Owner:</span>
{item.account}
</p>
</Link>
</div>
<div className="flex flex-row gap-3 mt-2">
<div className="bg-primary bg-opacity-20 p-2 flex justify-center items-center rounded-full"
onClick={() => setQr(!qr)}>
Expand Down

0 comments on commit 7cf2b99

Please sign in to comment.