From 156bc7c658ab56f6607189e3f5cba66d00a90802 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Mon, 16 Nov 2020 19:15:54 -0500 Subject: move all calculation logic into MainPage --- src/MainPage.js | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) (limited to 'src/MainPage.js') diff --git a/src/MainPage.js b/src/MainPage.js index 7dd0cc9..f00db6a 100644 --- a/src/MainPage.js +++ b/src/MainPage.js @@ -22,18 +22,33 @@ const MainPage = (props) => { - +

New Positive Cases From Past 14 Days

- - + +

@@ -47,13 +62,13 @@ const MainPage = (props) => { @@ -68,13 +83,13 @@ const MainPage = (props) => { @@ -86,7 +101,7 @@ const MainPage = (props) => { @@ -97,8 +112,8 @@ const MainPage = (props) => {
-- cgit v1.2.3