Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
beyond009 committed May 6, 2024
1 parent c437841 commit dea667e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/ProjectDetailCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ import Ton from '@/assets/logos/ton.svg';
import RightArrow from '@/assets/rightArrow.svg';
import { MainButton } from '@/components/MainButton.js';
import { publicClient } from '@/configs/wagmiClient.js';
import { CHAIN_ID, IS_TESTNET, POOL_ID, STAKE_MANAGER_CONTRACT } from '@/constants/index.js';
import { CHAIN_ID, POOL_ID, STAKE_MANAGER_CONTRACT } from '@/constants/index.js';
import { Image } from '@/esm/Image.js';
import { stakeAPI } from '@/providers/StakeAPI.js';
import { sepolia, mainnet } from 'wagmi';

interface ProjectCardProps {
setIsOpen: (isOpen: boolean) => void;
Expand Down
2 changes: 1 addition & 1 deletion src/components/StakeModal/StakeTokenInput/Stake.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { readContract, waitForTransaction, writeContract } from 'wagmi/actions';

import { InputPanel } from '@/components/StakeModal/StakeTokenInput/InputPanel.js';
import { publicClient } from '@/configs/wagmiClient.js';
import { CHAIN_ID, IS_TESTNET, MASK_TOKEN_CONTRACT, POOL_ID, STAKE_MANAGER_CONTRACT } from '@/constants/index.js';
import { CHAIN_ID, MASK_TOKEN_CONTRACT, POOL_ID, STAKE_MANAGER_CONTRACT } from '@/constants/index.js';
import { stakeAPI } from '@/providers/StakeAPI.js';

export function Stake() {
Expand Down
3 changes: 2 additions & 1 deletion src/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/* cspell:disable */

import { mainnet,sepolia } from 'wagmi';

import { erc20ABI as TOKEN_ABI } from '@/abis/erc20.js';
import { rewardABI as REWARD_ABI } from '@/abis/reward.js';
import { StakeManagerABI } from '@/abis/stakeManager.js';
import { sepolia, mainnet } from 'wagmi';

export const SITE_NAME = 'Stake Your $MASK';
export const SITE_DESCRIPTION = 'Stake Your $MASK';
Expand Down

0 comments on commit dea667e

Please sign in to comment.