From b2ff40258766b110fbf1f8e7416c5eefbcc42fc4 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Thu, 5 May 2022 16:24:42 -0400 Subject: [PATCH] Fix types --- web/components/feed-create.tsx | 5 +++-- web/pages/landing-page.tsx | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/web/components/feed-create.tsx b/web/components/feed-create.tsx index 0a0c6902..f4094852 100644 --- a/web/components/feed-create.tsx +++ b/web/components/feed-create.tsx @@ -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[] }) { {}} + hasMore={false} /> ) diff --git a/web/pages/landing-page.tsx b/web/pages/landing-page.tsx index 7bf01fa9..9d346947 100644 --- a/web/pages/landing-page.tsx +++ b/web/pages/landing-page.tsx @@ -158,7 +158,11 @@ function ExploreMarketsSection(props: { hotContracts: Contract[] }) { Today's top markets

- + {}} + hasMore={false} + /> ) }