Skip to content

Commit fc0696a

Browse files
committed
lint
1 parent e446389 commit fc0696a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import Link from "next/link";
33
export function NoCrossChainPrompt() {
44
return (
55
<div>
6-
Multi-chain deployments are not available for this contract. Deploy a
7-
new contract to enable this functionality.
6+
Multi-chain deployments are not available for this contract. Deploy a new
7+
contract to enable this functionality.
88
<br />
99
<br />
1010
<Link href="/explore" target="_blank" className="text-blue-500 underline">

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { fetchPublishedContractsFromDeploy } from "components/contract-components/fetchPublishedContractsFromDeploy";
2-
import Link from "next/link";
32
import { notFound } from "next/navigation";
43
import {
54
eth_getTransactionByHash,
@@ -162,17 +161,17 @@ export default async function Page(props: {
162161
)
163162
).filter((c) => c.status === "DEPLOYED");
164163

165-
let coreMetadata;
164+
let coreMetadata: FetchDeployMetadataResult | undefined;
166165
try {
167166
coreMetadata = (
168167
await fetchPublishedContractsFromDeploy({
169168
contract,
170169
client: contract.client,
171170
})
172171
).at(-1) as FetchDeployMetadataResult;
173-
} catch {}
172+
} catch {}
174173

175-
if(!coreMetadata) {
174+
if (!coreMetadata) {
176175
return NoCrossChainPrompt();
177176
}
178177

0 commit comments

Comments
 (0)