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