import Card from "../components/Card";
import GoatCounter from "../components/GoatCounter";
import "./Index.css";
const Index = (props) => {
const response = props.response;
if (response.loading) {
return
Loading...
;
}
const data = response.data;
const latest = data[data.length - 1];
const prior = data[data.length - (1 + props.timeDifference)];
return (
Total Positive Cases Since January 10 (First Day of Classes)
New Positive Cases From Past 14 Days
);
};
export default Index;