From e986166d39eca26be40a62188e634889716fb3ee Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Fri, 19 Aug 2022 16:49:56 -0700 Subject: [PATCH] Remove gridClassName Everything is spaced with m-4, too bad --- web/components/contract-search.tsx | 3 --- web/components/contract/contracts-grid.tsx | 2 -- web/components/editor/market-modal.tsx | 1 - web/pages/group/[...slugs]/index.tsx | 1 - 4 files changed, 7 deletions(-) diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index 41360eb7..a098f10c 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -83,7 +83,6 @@ export function ContractSearch(props: { highlightOptions?: ContractHighlightOptions onContractClick?: (contract: Contract) => void hideOrderSelector?: boolean - gridClassName?: string cardHideOptions?: { hideGroupLink?: boolean hideQuickBet?: boolean @@ -98,7 +97,6 @@ export function ContractSearch(props: { defaultFilter, additionalFilter, onContractClick, - gridClassName, hideOrderSelector, cardHideOptions, highlightOptions, @@ -181,7 +179,6 @@ export function ContractSearch(props: { loadMore={performQuery} showTime={showTime} onContractClick={onContractClick} - gridClassName={gridClassName} highlightOptions={highlightOptions} cardHideOptions={cardHideOptions} /> diff --git a/web/components/contract/contracts-grid.tsx b/web/components/contract/contracts-grid.tsx index dcd9f4a2..0839777c 100644 --- a/web/components/contract/contracts-grid.tsx +++ b/web/components/contract/contracts-grid.tsx @@ -21,7 +21,6 @@ export function ContractsGrid(props: { loadMore?: () => void showTime?: ShowTime onContractClick?: (contract: Contract) => void - gridClassName?: string cardHideOptions?: { hideQuickBet?: boolean hideGroupLink?: boolean @@ -33,7 +32,6 @@ export function ContractsGrid(props: { showTime, loadMore, onContractClick, - gridClassName, cardHideOptions, highlightOptions, } = props diff --git a/web/components/editor/market-modal.tsx b/web/components/editor/market-modal.tsx index 02925ff3..ea62b960 100644 --- a/web/components/editor/market-modal.tsx +++ b/web/components/editor/market-modal.tsx @@ -65,7 +65,6 @@ export function MarketModal(props: { c.id), diff --git a/web/pages/group/[...slugs]/index.tsx b/web/pages/group/[...slugs]/index.tsx index c66d5aa5..a58fce44 100644 --- a/web/pages/group/[...slugs]/index.tsx +++ b/web/pages/group/[...slugs]/index.tsx @@ -607,7 +607,6 @@ function AddContractButton(props: { group: Group; user: User }) { user={user} hideOrderSelector={true} onContractClick={addContractToCurrentGroup} - gridClassName="gap-3 space-y-3" cardHideOptions={{ hideGroupLink: true, hideQuickBet: true }} additionalFilter={{ excludeContractIds: group.contractIds }} highlightOptions={{