diff --git a/src/containers/Bolts/QuestBlock.tsx b/src/containers/Bolts/QuestBlock.tsx index 84360072..7b04feb8 100644 --- a/src/containers/Bolts/QuestBlock.tsx +++ b/src/containers/Bolts/QuestBlock.tsx @@ -17,7 +17,7 @@ const QuestBlock = ({ title, text, items, button }: { title: any; text: any; ite {button} - {items.map((item: Item, index: string) => ( + {items.map((item: Item, index: number) => ( {item.status} diff --git a/src/containers/Earn/PoolBlock.tsx b/src/containers/Earn/PoolBlock.tsx index aee675ca..2255bf50 100644 --- a/src/containers/Earn/PoolBlock.tsx +++ b/src/containers/Earn/PoolBlock.tsx @@ -4,6 +4,7 @@ import { formatWithCommas, getTokenLogo } from '~/utils' import { Tooltip as ReactTooltip } from 'react-tooltip' const PoolBlock = ({ nitroPoolAddress, nitroPoolData }: { nitroPoolAddress: string; nitroPoolData: any }) => { + console.log("DATA: ", nitroPoolData) const { collateral0TokenSymbol, collateral1TokenSymbol, rewardToken1Symbol, rewardToken2Symbol } = nitroPoolData const getTimePeriod = () => { diff --git a/src/containers/Earn/index.tsx b/src/containers/Earn/index.tsx index c11ba79a..5816e3c4 100644 --- a/src/containers/Earn/index.tsx +++ b/src/containers/Earn/index.tsx @@ -101,7 +101,7 @@ const Earn = () => { {nitroPools.length > 0 ? ( POOLS?.map( ( - pool: JSX.IntrinsicAttributes & { nitroPoolAddress: string; nitroPoolData: any }, + pool: JSX.IntrinsicAttributes & { nitroPoolAddress: string; nitroPoolData: PoolData }, i: number ) => )