diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-04-20 17:43:28 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-04-20 17:43:28 -0400 |
commit | 3ce7ae5c53705c213b293bb7bca833b066c14d6a (patch) | |
tree | 698117240e493a07431c9e06ca0e2d36237fcfa1 | |
parent | 28f7dec7e98a9065568b88a226bedcecad3a8250 (diff) |
-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> |