Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aelmanaa committed Dec 8, 2024
1 parent 54e800b commit 06e34ae
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
<>
Expand Down Expand Up @@ -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"}
/>
</div>
</div>
Expand Down Expand Up @@ -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"}
/>
</div>
</div>
Expand Down

0 comments on commit 06e34ae

Please sign in to comment.