refactor: remove extra elem, de-indent
This commit is contained in:
parent
b53de2239c
commit
6be21d101a
|
@ -2,7 +2,6 @@ import { useState } from 'react'
|
|||
import clsx from 'clsx'
|
||||
|
||||
import { BetPanelSwitcher } from './bet-panel'
|
||||
import { Row } from './layout/row'
|
||||
import { YesNoSelector } from './yes-no-selector'
|
||||
import { Binary, CPMM, DPM, FullContract } from 'common/contract'
|
||||
import { Modal } from './layout/modal'
|
||||
|
|
|
@ -77,8 +77,7 @@ export function ContractDetails(props: {
|
|||
const { volumeLabel, createdDate, resolvedDate } = contractMetrics(contract)
|
||||
|
||||
return (
|
||||
<Col className="gap-2 text-sm text-gray-500 sm:flex-row sm:flex-wrap">
|
||||
<Row className="flex-1 flex-wrap items-center gap-x-4 gap-y-3">
|
||||
<Row className="flex-1 flex-wrap items-center gap-x-4 gap-y-3 text-sm text-gray-500">
|
||||
<Row className="items-center gap-2">
|
||||
<Avatar
|
||||
username={creatorUsername}
|
||||
|
@ -138,7 +137,6 @@ export function ContractDetails(props: {
|
|||
|
||||
{!disabled && <ContractInfoDialog contract={contract} bets={bets} />}
|
||||
</Row>
|
||||
</Col>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user