Skip to content

Commit 96e8b4e

Browse files
committed
update text
1 parent fc0696a commit 96e8b4e

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractPageSidebarLinks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function getContractPageSidebarLinks(data: {
2525
exactMatch: true,
2626
},
2727
{
28-
label: "Cross Chain",
28+
label: "Cross Chain (Beta)",
2929
href: `${layoutPrefix}/cross-chain`,
3030
exactMatch: true,
3131
},

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain/page.tsx

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,26 @@ export default async function Page(props: {
251251
}
252252

253253
return (
254-
<DataTable
255-
coreMetadata={coreMetadata}
256-
modulesMetadata={modulesMetadata}
257-
initializeData={initializeData}
258-
inputSalt={inputSalt}
259-
data={chainsDeployedOn}
260-
coreContract={contract}
261-
initCode={initCode}
262-
isDirectDeploy={isDirectDeploy}
263-
/>
254+
<>
255+
<div>
256+
<h2 className="mb-1 font-bold text-2xl tracking-tight">
257+
Deploy Cross-chain
258+
</h2>
259+
<p className="text-muted-foreground">
260+
Deterministically deploy your contracts on multiple networks.
261+
</p>
262+
</div>
263+
<div className="h-10" />
264+
<DataTable
265+
coreMetadata={coreMetadata}
266+
modulesMetadata={modulesMetadata}
267+
initializeData={initializeData}
268+
inputSalt={inputSalt}
269+
data={chainsDeployedOn}
270+
coreContract={contract}
271+
initCode={initCode}
272+
isDirectDeploy={isDirectDeploy}
273+
/>
274+
</>
264275
);
265276
}

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain/single-network-selector.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ export function SingleNetworkSelector(props: {
7575
options={options}
7676
onValueChange={handleChange}
7777
placeholder={
78-
allChains.length === 0 ? "Loading Chains..." : "Search Chains"
78+
allChains.length === 0
79+
? "Loading chains..."
80+
: "Select chain to deploy on"
7981
}
8082
overrideSearchFn={searchFn}
8183
renderOption={renderOption}

0 commit comments

Comments
 (0)