parent
b4e7d88ed8
commit
1c209f68f6
|
@ -8,6 +8,7 @@ import { OutcomeLabel } from './outcome-label'
|
||||||
import { useUserContractBets } from 'web/hooks/use-user-bets'
|
import { useUserContractBets } from 'web/hooks/use-user-bets'
|
||||||
import { useSaveBinaryShares } from './use-save-binary-shares'
|
import { useSaveBinaryShares } from './use-save-binary-shares'
|
||||||
import { SellSharesModal } from './sell-modal'
|
import { SellSharesModal } from './sell-modal'
|
||||||
|
import { Button } from './button'
|
||||||
|
|
||||||
export function SellRow(props: {
|
export function SellRow(props: {
|
||||||
contract: BinaryContract | PseudoNumericContract
|
contract: BinaryContract | PseudoNumericContract
|
||||||
|
@ -37,17 +38,14 @@ export function SellRow(props: {
|
||||||
shares
|
shares
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button
|
<Button
|
||||||
className="btn btn-sm"
|
className="my-auto"
|
||||||
style={{
|
size="xs"
|
||||||
backgroundColor: 'white',
|
color="gray-outline"
|
||||||
border: '2px solid',
|
|
||||||
color: '#3D4451',
|
|
||||||
}}
|
|
||||||
onClick={() => setShowSellModal(true)}
|
onClick={() => setShowSellModal(true)}
|
||||||
>
|
>
|
||||||
Sell
|
Sell
|
||||||
</button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
</Col>
|
</Col>
|
||||||
{showSellModal && (
|
{showSellModal && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user