Fix types

This commit is contained in:
James Grugett 2022-05-05 16:24:42 -04:00
parent 7744199eac
commit b2ff402587
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import _ from 'lodash'
import { SparklesIcon, XIcon } from '@heroicons/react/solid'
import { Avatar } from './avatar'
import { useEffect, useRef, useState } from 'react'
@ -10,7 +11,6 @@ import { Col } from './layout/col'
import clsx from 'clsx'
import { Row } from './layout/row'
import { ENV_CONFIG } from '../../common/envs/constants'
import _ from 'lodash'
export function FeedPromo(props: { hotContracts: Contract[] }) {
const { hotContracts } = props
@ -55,7 +55,8 @@ export function FeedPromo(props: { hotContracts: Contract[] }) {
</Row>
<ContractsGrid
contracts={hotContracts?.slice(0, 10) || []}
showHotVolume
loadMore={() => {}}
hasMore={false}
/>
</>
)

View File

@ -158,7 +158,11 @@ function ExploreMarketsSection(props: { hotContracts: Contract[] }) {
Today's top markets
</p>
<ContractsGrid contracts={hotContracts} />
<ContractsGrid
contracts={hotContracts}
loadMore={() => {}}
hasMore={false}
/>
</div>
)
}