Remove category selector references

This commit is contained in:
Ian Philips 2022-07-07 14:55:28 -06:00
parent d6e808e1a3
commit 3ff8b26312
5 changed files with 1 additions and 5 deletions

View File

@ -87,7 +87,6 @@ export function CreatorContractsList(props: { creator: User }) {
additionalFilter={{ additionalFilter={{
creatorId: creator.id, creatorId: creator.id,
}} }}
showCategorySelector={false}
/> />
) )
} }

View File

@ -598,7 +598,6 @@ function AddContractButton(props: { group: Group; user: User }) {
<ContractSearch <ContractSearch
hideOrderSelector={true} hideOrderSelector={true}
onContractClick={addContractToCurrentGroup} onContractClick={addContractToCurrentGroup}
showCategorySelector={false}
overrideGridClassName={'flex grid-cols-1 flex-col gap-3 p-1'} overrideGridClassName={'flex grid-cols-1 flex-col gap-3 p-1'}
showPlaceHolder={true} showPlaceHolder={true}
hideQuickBet={true} hideQuickBet={true}

View File

@ -34,7 +34,6 @@ const Home = () => {
shouldLoadFromStorage: true, shouldLoadFromStorage: true,
defaultSort: getSavedSort() ?? '24-hour-vol', defaultSort: getSavedSort() ?? '24-hour-vol',
}} }}
showCategorySelector
onContractClick={(c) => { onContractClick={(c) => {
// Show contract without navigating to contract page. // Show contract without navigating to contract page.
setContract(c) setContract(c)

View File

@ -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." description="Discover what's new, trending, or soon-to-close. Or search among our hundreds of markets."
url="/markets" url="/markets"
/> />
<ContractSearch showCategorySelector /> <ContractSearch />
</Page> </Page>
) )
} }

View File

@ -18,7 +18,6 @@ export default function TagPage() {
shouldLoadFromStorage: true, shouldLoadFromStorage: true,
}} }}
additionalFilter={{ tag }} additionalFilter={{ tag }}
showCategorySelector={false}
/> />
</Page> </Page>
) )