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={{
creatorId: creator.id,
}}
showCategorySelector={false}
/>
)
}

View File

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

View File

@ -34,7 +34,6 @@ const Home = () => {
shouldLoadFromStorage: true,
defaultSort: getSavedSort() ?? '24-hour-vol',
}}
showCategorySelector
onContractClick={(c) => {
// Show contract without navigating to contract page.
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."
url="/markets"
/>
<ContractSearch showCategorySelector />
<ContractSearch />
</Page>
)
}

View File

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