diff options
-rw-r--r-- | src/pages/Graph.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/Graph.jsx b/src/pages/Graph.jsx index eb0475f..0d18fab 100644 --- a/src/pages/Graph.jsx +++ b/src/pages/Graph.jsx @@ -33,7 +33,8 @@ const Graph = (props) => { }); const latest = parsed[parsed.length - 1]; - const toTheMoon = true; + const prior = parsed[parsed.length - 2] + const toTheMoon = latest.value > prior.value + 1; return ( <div> |