Make graph's fake datapoint farther out

This commit is contained in:
jahooma 2022-01-28 13:19:32 -06:00
parent f75dc0200d
commit 836c87b371

View File

@ -27,7 +27,7 @@ export function ContractProbGraph(props: { contract: Contract }) {
if (!resolutionTime) {
// Add a fake datapoint in future so the line continues horizontally
// to the right.
times.push(latestTime.add(1, 'day').toDate())
times.push(latestTime.add(1, 'month').toDate())
probs.push(probs[probs.length - 1])
}