Always show search placeholder
This commit is contained in:
parent
20ab313c6c
commit
3cbf5a6f7d
|
@ -59,7 +59,6 @@ export function ContractSearch(props: {
|
|||
}
|
||||
highlightOptions?: ContractHighlightOptions
|
||||
onContractClick?: (contract: Contract) => void
|
||||
showPlaceHolder?: boolean
|
||||
hideOrderSelector?: boolean
|
||||
overrideGridClassName?: string
|
||||
cardHideOptions?: {
|
||||
|
@ -75,7 +74,6 @@ export function ContractSearch(props: {
|
|||
onContractClick,
|
||||
overrideGridClassName,
|
||||
hideOrderSelector,
|
||||
showPlaceHolder,
|
||||
cardHideOptions,
|
||||
highlightOptions,
|
||||
headerClassName,
|
||||
|
@ -269,7 +267,7 @@ export function ContractSearch(props: {
|
|||
value={query}
|
||||
onChange={(e) => updateQuery(e.target.value)}
|
||||
onBlur={trackCallback('search', { query })}
|
||||
placeholder={showPlaceHolder ? `Search ${filter} markets` : ''}
|
||||
placeholder={'Search'}
|
||||
className="input input-bordered w-full"
|
||||
/>
|
||||
{!query && (
|
||||
|
|
|
@ -68,7 +68,6 @@ export function MarketModal(props: {
|
|||
overrideGridClassName={
|
||||
'flex grid grid-cols-1 sm:grid-cols-2 flex-col gap-3 p-1'
|
||||
}
|
||||
showPlaceHolder
|
||||
cardHideOptions={{ hideGroupLink: true, hideQuickBet: true }}
|
||||
querySortOptions={{ disableQueryString: true }}
|
||||
highlightOptions={{
|
||||
|
|
|
@ -619,7 +619,6 @@ function AddContractButton(props: { group: Group; user: User }) {
|
|||
overrideGridClassName={
|
||||
'flex grid grid-cols-1 sm:grid-cols-2 flex-col gap-3 p-1'
|
||||
}
|
||||
showPlaceHolder={true}
|
||||
cardHideOptions={{ hideGroupLink: true, hideQuickBet: true }}
|
||||
additionalFilter={{ excludeContractIds: group.contractIds }}
|
||||
highlightOptions={{
|
||||
|
|
Loading…
Reference in New Issue
Block a user