Make graph's fake datapoint farther out
This commit is contained in:
parent
f75dc0200d
commit
836c87b371
|
@ -27,7 +27,7 @@ export function ContractProbGraph(props: { contract: Contract }) {
|
||||||
if (!resolutionTime) {
|
if (!resolutionTime) {
|
||||||
// Add a fake datapoint in future so the line continues horizontally
|
// Add a fake datapoint in future so the line continues horizontally
|
||||||
// to the right.
|
// to the right.
|
||||||
times.push(latestTime.add(1, 'day').toDate())
|
times.push(latestTime.add(1, 'month').toDate())
|
||||||
probs.push(probs[probs.length - 1])
|
probs.push(probs[probs.length - 1])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user