Skip to content

Commit

Permalink
chore: renamed variable to erc20ContractAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioVentilii-DFINITY committed Jun 20, 2024
1 parent 689ebc6 commit e333f97
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import { nonNullish } from '@dfinity/utils';
export let network: Network | undefined;
export let tokenData: Record<string, string>;
let networkName: string | undefined = network?.name;
$: networkName,
Expand All @@ -20,7 +19,7 @@
let ledgerCanisterId: string;
let indexCanisterId: string;
let contractAddress: string;
let erc20ContractAddress: string;
$: tokenData = {

Check warning on line 24 in src/frontend/src/icp-eth/components/tokens/AddTokenByNetwork.svelte

View workflow job for this annotation

GitHub Actions / lint

'tokenData' is defined but never used. Allowed unused vars must match /^_/u
ledgerCanisterId,
Expand Down Expand Up @@ -50,7 +49,7 @@
</div>
{:else if network?.id === ETHEREUM_NETWORK_ID}
<div in:fade>
<AddTokenForm on:icBack on:icNext bind:contractAddress />
<AddTokenForm on:icBack on:icNext bind:contractAddress={erc20ContractAddress} />
</div>
{/if}
</div>
Expand Down

0 comments on commit e333f97

Please sign in to comment.