Prettier
This commit is contained in:
parent
dfec5ed8fa
commit
fba083cead
|
@ -3,7 +3,12 @@ import { ReactNode } from 'react'
|
|||
import { Answer } from 'common/answer'
|
||||
import { getProbability } from 'common/calculate'
|
||||
import { getValueFromBucket } from 'common/calculate-dpm'
|
||||
import { BinaryContract, Contract, FreeResponseContract, resolution } from 'common/contract'
|
||||
import {
|
||||
BinaryContract,
|
||||
Contract,
|
||||
FreeResponseContract,
|
||||
resolution,
|
||||
} from 'common/contract'
|
||||
import { formatPercent } from 'common/util/format'
|
||||
import { ClientRender } from './client-render'
|
||||
|
||||
|
|
|
@ -30,9 +30,7 @@ export function ResolutionPanel(props: {
|
|||
? `${DPM_CREATOR_FEE * 100}% of trader profits`
|
||||
: `${formatMoney(contract.collectedFees.creatorFee)} in fees`
|
||||
|
||||
const [outcome, setOutcome] = useState<
|
||||
resolution | undefined
|
||||
>()
|
||||
const [outcome, setOutcome] = useState<resolution | undefined>()
|
||||
|
||||
const [prob, setProb] = useState(getProbability(contract) * 100)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user