File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 33/// <reference types="next/navigation-types/compat/navigation" />
44
55// NOTE: This file should not be edited
6- // see https://nextjs.org/docs/app/api-reference/config /typescript for more information.
6+ // see https://nextjs.org/docs/app/building-your-application/configuring /typescript for more information.
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import {
3131 showSuperchainBridgeFieldset ,
3232} from "components/contract-components/contract-deploy-form/modular-contract-default-modules-fieldset" ;
3333import { useTxNotifications } from "hooks/useTxNotifications" ;
34+ import Link from "next/link" ;
3435import {
3536 ZERO_ADDRESS ,
3637 defineChain ,
@@ -87,6 +88,20 @@ export function DataTable({
8788 {
8889 accessorKey : "network" ,
8990 header : "Network" ,
91+ cell : ( { row } ) => {
92+ if ( row . getValue ( "status" ) === "DEPLOYED" ) {
93+ return (
94+ < Link
95+ target = "_blank"
96+ className = "text-blue-500 underline"
97+ href = { `/${ row . getValue ( "chainId" ) } /${ coreContract . address } ` }
98+ >
99+ { row . getValue ( "network" ) }
100+ </ Link >
101+ ) ;
102+ }
103+ return row . getValue ( "network" ) ;
104+ } ,
90105 } ,
91106 {
92107 accessorKey : "chainId" ,
You can’t perform that action at this time.
0 commit comments