diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-11-14 14:39:42 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-11-14 14:39:42 -0500 |
commit | db7bafc9e1d626467e404588884cff6fcd4635aa (patch) | |
tree | d760c9ffd89f39012c792ef9ca08878a94202748 | |
parent | be01fd2faaad2feebdb31f7a813a636d93356db8 (diff) |
Add yesterday alert level
-rw-r--r-- | src/MainPage.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/MainPage.js b/src/MainPage.js index cb83078..29c9674 100644 --- a/src/MainPage.js +++ b/src/MainPage.js @@ -10,6 +10,9 @@ const MainPage = (props) => { <h4 className="text-2xl"> Alert Level: {latest.alert_level.charAt(0).toUpperCase() + latest.alert_level.slice(1)} </h4> + <h5 className="text-gray-600 text-sm"> + (Yesterday: {prior.alert_level.charAt(0).toUpperCase() + prior.alert_level.slice(1)}) + </h5> <br /> <div id="total"> <h4 className="text-2xl">Total Positive Cases Since August 19 (First Day of Classes)</h4> |