getting rid of comments

This commit is contained in:
ingawei 2022-09-14 23:44:11 -07:00
parent d04b7fd70f
commit 0a07de3326
3 changed files with 0 additions and 10 deletions

View File

@ -259,9 +259,6 @@ export function MarketGroups(props: {
{disabled ? ( {disabled ? (
{ groupInfo } { groupInfo }
) : ( ) : (
// !user ? (
// <div />
// ) :
<Row> <Row>
{groupInfo} {groupInfo}
{user && ( {user && (

View File

@ -85,7 +85,6 @@ const BinaryOverview = (props: { contract: BinaryContract; bets: Bet[] }) => {
</Row> </Row>
<Row className="items-center justify-between gap-4 xl:hidden"> <Row className="items-center justify-between gap-4 xl:hidden">
<BinaryResolutionOrChance contract={contract} /> <BinaryResolutionOrChance contract={contract} />
{/* <ExtraMobileContractDetails contract={contract} /> */}
{tradingAllowed(contract) && ( {tradingAllowed(contract) && (
<BetWidget contract={contract as CPMMBinaryContract} /> <BetWidget contract={contract as CPMMBinaryContract} />
)} )}
@ -113,10 +112,6 @@ const ChoiceOverview = (props: {
</Col> </Col>
<Col className={'mb-1 gap-y-2'}> <Col className={'mb-1 gap-y-2'}>
<AnswersGraph contract={contract} bets={[...bets].reverse()} /> <AnswersGraph contract={contract} bets={[...bets].reverse()} />
{/* <ExtraMobileContractDetails
contract={contract}
forceShowVolume={true}
/> */}
</Col> </Col>
</Col> </Col>
) )
@ -140,7 +135,6 @@ const PseudoNumericOverview = (props: {
</Row> </Row>
<Row className="items-center justify-between gap-4 xl:hidden"> <Row className="items-center justify-between gap-4 xl:hidden">
<PseudoNumericResolutionOrExpectation contract={contract} /> <PseudoNumericResolutionOrExpectation contract={contract} />
{/* <ExtraMobileContractDetails contract={contract} /> */}
{tradingAllowed(contract) && <BetWidget contract={contract} />} {tradingAllowed(contract) && <BetWidget contract={contract} />}
</Row> </Row>
</Col> </Col>

View File

@ -79,7 +79,6 @@ export function MiniUserFollowButton(props: { userId: string }) {
const isFollowing = following?.includes(userId) const isFollowing = following?.includes(userId)
const isFirstRender = useRef(true) const isFirstRender = useRef(true)
const [justFollowed, setJustFollowed] = useState(false) const [justFollowed, setJustFollowed] = useState(false)
// const [followFade, setfollowFade] = useState(false)
useEffect(() => { useEffect(() => {
if (isFirstRender.current) { if (isFirstRender.current) {