Make changes per James's comments

This commit is contained in:
Austin Chen 2021-12-20 22:23:18 -08:00
parent 030cf36a21
commit 83dff15706
2 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,6 @@ export function compute(contract: Contract) {
const probPercent = Math.round(prob * 100) + '%'
const startProb =
startPool.YES ** 2 / (startPool.YES ** 2 + startPool.NO ** 2)
const startProbPercent = Math.round(startProb * 100) + '%'
const createdDate = dayjs(createdTime).format('MMM D')
const resolvedDate = isResolved
? dayjs(resolutionTime).format('MMM D')

View File

@ -149,6 +149,10 @@ ${TEST_VALUE}
<div className="form-control">
<label className="label">
<span className="label-text">Prediction</span>
<div className="text-sm text-gray-500 ml-1">
One prediction per line, each formatted like "The sun will rise
tomorrow: 99%"
</div>
</label>
<textarea