From 3ff8b263122f0d8e030d1e8cfac10b28b217caae Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Thu, 7 Jul 2022 14:55:28 -0600 Subject: [PATCH] Remove category selector references --- web/components/contract/contracts-list.tsx | 1 - web/pages/group/[...slugs]/index.tsx | 1 - web/pages/home.tsx | 1 - web/pages/markets.tsx | 2 +- web/pages/tag/[tag].tsx | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/web/components/contract/contracts-list.tsx b/web/components/contract/contracts-list.tsx index e24090d9..20a85ef4 100644 --- a/web/components/contract/contracts-list.tsx +++ b/web/components/contract/contracts-list.tsx @@ -87,7 +87,6 @@ export function CreatorContractsList(props: { creator: User }) { additionalFilter={{ creatorId: creator.id, }} - showCategorySelector={false} /> ) } diff --git a/web/pages/group/[...slugs]/index.tsx b/web/pages/group/[...slugs]/index.tsx index b38750fc..db8d38be 100644 --- a/web/pages/group/[...slugs]/index.tsx +++ b/web/pages/group/[...slugs]/index.tsx @@ -598,7 +598,6 @@ function AddContractButton(props: { group: Group; user: User }) { { shouldLoadFromStorage: true, defaultSort: getSavedSort() ?? '24-hour-vol', }} - showCategorySelector onContractClick={(c) => { // Show contract without navigating to contract page. setContract(c) diff --git a/web/pages/markets.tsx b/web/pages/markets.tsx index ab8e064d..a3e851fc 100644 --- a/web/pages/markets.tsx +++ b/web/pages/markets.tsx @@ -11,7 +11,7 @@ export default function Markets() { description="Discover what's new, trending, or soon-to-close. Or search among our hundreds of markets." url="/markets" /> - + ) } diff --git a/web/pages/tag/[tag].tsx b/web/pages/tag/[tag].tsx index c6b7d31d..476afecf 100644 --- a/web/pages/tag/[tag].tsx +++ b/web/pages/tag/[tag].tsx @@ -18,7 +18,6 @@ export default function TagPage() { shouldLoadFromStorage: true, }} additionalFilter={{ tag }} - showCategorySelector={false} /> )