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 3c276c2 commit 3942210
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/components/CCIP/TutorialSetup/SetupSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ interface SetupSectionProps {
checkbox?: {
stepId: StepId
subStepId: SubStepId<StepId>
client?: "load" | "only" | "visible"
}
}

Expand All @@ -24,7 +23,7 @@ export const SetupSection = ({ title, description, children, checkbox }: SetupSe
</div>
{checkbox && (
<div className={styles.headerActions}>
<StepCheckbox {...checkbox} />
<StepCheckbox stepId={checkbox.stepId} subStepId={checkbox.subStepId} />
</div>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,19 @@ This tutorial will guide you through enabling your tokens in CCIP using only you
<SetupSection
title="Import Required Contracts"
description="Import and compile the token contracts in Remix IDE"
checkbox={{
stepId: "setup",
subStepId: "contracts-imported"
}}
client:only="react"
>
1. Open the pre-configured token contract in Remix:

{" "}
<CodeSample src="samples/CCIP/cct/TokenDependencies.sol" showButtonOnly={true} optimize={true} runs={1000} />

2. Wait a few seconds for Remix to automatically compile all contracts.

<StepCheckbox stepId="setup" subStepId="contracts-imported" client:only="react" />
</SetupSection>
</SetupSection>

## Tutorial

Expand Down

0 comments on commit 3942210

Please sign in to comment.