From 06e34aef8412594e28248964e753d0c187f9f988 Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Sun, 8 Dec 2024 17:11:39 +0100 Subject: [PATCH] update --- .../CCIP/TutorialBlockchainSelector/AdminSetupStep.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/CCIP/TutorialBlockchainSelector/AdminSetupStep.tsx b/src/components/CCIP/TutorialBlockchainSelector/AdminSetupStep.tsx index 96bd4232b2b..dffdb335175 100644 --- a/src/components/CCIP/TutorialBlockchainSelector/AdminSetupStep.tsx +++ b/src/components/CCIP/TutorialBlockchainSelector/AdminSetupStep.tsx @@ -18,6 +18,7 @@ export const AdminSetupStep = ({ chain }: AdminSetupStepProps) => { const network = chain === "source" ? state.sourceNetwork : state.destinationNetwork const networkInfo = network ? { name: network.name, logo: network.logo } : { name: "loading..." } const stepId = chain === "source" ? "sourceChain" : "destinationChain" + const tokenAddress = chain === "source" ? state.sourceContracts.token : state.destinationContracts.token const content = ( <> @@ -57,7 +58,7 @@ export const AdminSetupStep = ({ chain }: AdminSetupStepProps) => { name="token" type="address" description="The token contract you want to administer" - example={state.sourceContracts.token || "Your deployed token address"} + example={tokenAddress || "Your deployed token address"} /> @@ -100,7 +101,7 @@ export const AdminSetupStep = ({ chain }: AdminSetupStepProps) => { name="token" type="address" description="The token contract to accept administrator role for" - example={state.sourceContracts.token || "Your deployed token address"} + example={tokenAddress || "Your deployed token address"} />