getting rid of comments
This commit is contained in:
parent
9b6205c9d4
commit
95592db18d
|
@ -42,7 +42,6 @@ export function AmountInput(props: {
|
||||||
<>
|
<>
|
||||||
<Col className={className}>
|
<Col className={className}>
|
||||||
<label>
|
<label>
|
||||||
{/* <span className="bg-gray-200 text-sm">{label}</span> */}
|
|
||||||
<span
|
<span
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'text-greyscale-4 absolute ml-2 mt-[9px]',
|
'text-greyscale-4 absolute ml-2 mt-[9px]',
|
||||||
|
|
|
@ -14,7 +14,6 @@ import { useSaveBinaryShares } from './use-save-binary-shares'
|
||||||
import { Col } from './layout/col'
|
import { Col } from './layout/col'
|
||||||
import { Button } from 'web/components/button'
|
import { Button } from 'web/components/button'
|
||||||
import { BetSignUpPrompt } from './sign-up-prompt'
|
import { BetSignUpPrompt } from './sign-up-prompt'
|
||||||
import { PRESENT_BET } from 'common/user'
|
|
||||||
import { User } from 'web/lib/firebase/users'
|
import { User } from 'web/lib/firebase/users'
|
||||||
import { SellRow } from './sell-row'
|
import { SellRow } from './sell-row'
|
||||||
import { useUnfilledBets } from 'web/hooks/use-bets'
|
import { useUnfilledBets } from 'web/hooks/use-bets'
|
||||||
|
|
|
@ -369,12 +369,7 @@ export function BuyPanel(props: {
|
||||||
) : (
|
) : (
|
||||||
<div className="text-xl">
|
<div className="text-xl">
|
||||||
{format(resultProb)}
|
{format(resultProb)}
|
||||||
<span
|
<span className={clsx('text-greyscale-4 text-xs')}>
|
||||||
className={clsx(
|
|
||||||
'text-greyscale-4 text-xs'
|
|
||||||
// outcome === 'YES' ? 'text-teal-500' : 'text-red-400'
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
{isPseudoNumeric ? (
|
{isPseudoNumeric ? (
|
||||||
<></>
|
<></>
|
||||||
) : (
|
) : (
|
||||||
|
@ -391,9 +386,6 @@ export function BuyPanel(props: {
|
||||||
</Row>
|
</Row>
|
||||||
<Row className="text-greyscale-4 mt-4 mb-1 justify-between text-left text-xs">
|
<Row className="text-greyscale-4 mt-4 mb-1 justify-between text-left text-xs">
|
||||||
Amount
|
Amount
|
||||||
{/* <span className={'xl:hidden'}>
|
|
||||||
Balance: {formatMoney(user?.balance ?? 0)}
|
|
||||||
</span> */}
|
|
||||||
</Row>
|
</Row>
|
||||||
|
|
||||||
<BuyAmountInput
|
<BuyAmountInput
|
||||||
|
@ -415,7 +407,6 @@ export function BuyPanel(props: {
|
||||||
warning={warning}
|
warning={warning}
|
||||||
onSubmit={submitBet}
|
onSubmit={submitBet}
|
||||||
isSubmitting={isSubmitting}
|
isSubmitting={isSubmitting}
|
||||||
// disabled={!!betDisabled}
|
|
||||||
openModalButtonClass={clsx(
|
openModalButtonClass={clsx(
|
||||||
'btn mb-2 flex-1',
|
'btn mb-2 flex-1',
|
||||||
betDisabled
|
betDisabled
|
||||||
|
|
Loading…
Reference in New Issue
Block a user