From 836c87b371d3a0b67eb03d817b18891ce43ecf9a Mon Sep 17 00:00:00 2001 From: jahooma Date: Fri, 28 Jan 2022 13:19:32 -0600 Subject: [PATCH] Make graph's fake datapoint farther out --- web/components/contract-prob-graph.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/contract-prob-graph.tsx b/web/components/contract-prob-graph.tsx index 94f9646a..24fef00b 100644 --- a/web/components/contract-prob-graph.tsx +++ b/web/components/contract-prob-graph.tsx @@ -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]) }