aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2020-11-18 14:54:41 -0500
committerGalen Guyer <galen@galenguyer.com>2020-11-18 14:54:41 -0500
commitd3bcb60cd9e908f96b748cab2f496812a7b8437f (patch)
treeae36c41c0f8985fbffbc253de79bf3251a80a00a
parent5f3c5c9a24f9b2f60284cee23ad6f9a1cc970eca (diff)
fix diff in prior positive test rate
-rw-r--r--src/MainPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainPage.js b/src/MainPage.js
index 6ca3b04..c7e0721 100644
--- a/src/MainPage.js
+++ b/src/MainPage.js
@@ -121,7 +121,7 @@ const MainPage = (props) => {
<Card
name="Positive Test Rate"
latest={positiveTestRate + "%"}
- diff={priorPositiveTestRate + "%"}
+ diff={positiveTestRate - priorPositiveTestRate + "%"}
link="/positivetests"
/>
</div>