Remove category selector references
This commit is contained in:
parent
d6e808e1a3
commit
3ff8b26312
|
@ -87,7 +87,6 @@ export function CreatorContractsList(props: { creator: User }) {
|
|||
additionalFilter={{
|
||||
creatorId: creator.id,
|
||||
}}
|
||||
showCategorySelector={false}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -18,7 +18,6 @@ export default function TagPage() {
|
|||
shouldLoadFromStorage: true,
|
||||
}}
|
||||
additionalFilter={{ tag }}
|
||||
showCategorySelector={false}
|
||||
/>
|
||||
</Page>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user