diff --git a/explorer/src/components/DataTable/index.tsx b/explorer/src/components/DataTable/index.tsx index 860413c1..b95f3fa6 100644 --- a/explorer/src/components/DataTable/index.tsx +++ b/explorer/src/components/DataTable/index.tsx @@ -61,7 +61,7 @@ export function DataTable({ columns, data, link }: DataTableProps className="table-row-transition hover:bg-jumbotronLight dark:hover:bg-jumbotronDark cursor-pointer" > {row.getVisibleCells().map((cell) => ( - + {flexRender(cell.column.columnDef.cell, cell.getContext())} ))} diff --git a/explorer/src/pages/Attestation/components/AttestationInfo/index.tsx b/explorer/src/pages/Attestation/components/AttestationInfo/index.tsx index 04969615..421acdb5 100644 --- a/explorer/src/pages/Attestation/components/AttestationInfo/index.tsx +++ b/explorer/src/pages/Attestation/components/AttestationInfo/index.tsx @@ -1,6 +1,6 @@ import { Attestation } from "@verax-attestation-registry/verax-sdk"; import { t } from "i18next"; -import { ArrowUpRight, Info } from "lucide-react"; +import { Info } from "lucide-react"; import { useCallback } from "react"; import { Address, Hex, hexToNumber, isAddress } from "viem"; import { mainnet } from "viem/chains"; @@ -85,36 +85,23 @@ export const AttestationInfo: React.FC = ({ ...attestation }) => {
{list.map((item, index) => (
-
+
{item.title.toUpperCase()} {index === 1 && ( - + )}
- {item.to && ( + {item.to ? ( {item.value} - )} - - {item.link && ( - - {item.value} - - - )} - - {!item.to && !item.link && ( -
+ ) : ( +
{item.value}
)}