Remove unused bets prop
This commit is contained in:
parent
83180c1703
commit
a58a8d34a5
|
@ -140,7 +140,7 @@ export const ContractOverview = (props: {
|
||||||
</Col>
|
</Col>
|
||||||
)}
|
)}
|
||||||
{outcomeType === 'NUMERIC' && <NumericGraph contract={contract} />}
|
{outcomeType === 'NUMERIC' && <NumericGraph contract={contract} />}
|
||||||
<ExtraContractActionsRow user={user} contract={contract} bets={bets} />
|
<ExtraContractActionsRow user={user} contract={contract} />
|
||||||
<ContractDescription
|
<ContractDescription
|
||||||
className="px-2"
|
className="px-2"
|
||||||
contract={contract}
|
contract={contract}
|
||||||
|
|
|
@ -10,15 +10,13 @@ import { ShareModal } from './share-modal'
|
||||||
import { FollowMarketButton } from 'web/components/follow-market-button'
|
import { FollowMarketButton } from 'web/components/follow-market-button'
|
||||||
import { LikeMarketButton } from 'web/components/contract/like-market-button'
|
import { LikeMarketButton } from 'web/components/contract/like-market-button'
|
||||||
import { ContractInfoDialog } from 'web/components/contract/contract-info-dialog'
|
import { ContractInfoDialog } from 'web/components/contract/contract-info-dialog'
|
||||||
import { Bet } from 'common/bet'
|
|
||||||
import { Col } from 'web/components/layout/col'
|
import { Col } from 'web/components/layout/col'
|
||||||
|
|
||||||
export function ExtraContractActionsRow(props: {
|
export function ExtraContractActionsRow(props: {
|
||||||
contract: Contract
|
contract: Contract
|
||||||
bets: Bet[]
|
|
||||||
user: User | undefined | null
|
user: User | undefined | null
|
||||||
}) {
|
}) {
|
||||||
const { user, contract, bets } = props
|
const { user, contract } = props
|
||||||
|
|
||||||
const [isShareOpen, setShareOpen] = useState(false)
|
const [isShareOpen, setShareOpen] = useState(false)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user