make changes for screen tests
This commit is contained in:
13
src/App.js
13
src/App.js
@@ -1,10 +1,6 @@
|
||||
import logo from './logo.png';
|
||||
import './App.css';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import BarChart from './BarChart';
|
||||
import TestResultChart from './TestResultChart';
|
||||
import GenderChart from './GenderChart';
|
||||
import RegistraionChart from './RegistraionChart';
|
||||
|
||||
import { initializeApp } from "firebase/app";
|
||||
import { getAnalytics } from "firebase/analytics";
|
||||
@@ -84,7 +80,7 @@ function App() {
|
||||
setPositives(traitCount + diseaseCount);
|
||||
setTraits(traitCount);
|
||||
setDiseases(diseaseCount);
|
||||
setLastUpdate(lastUpdate);
|
||||
setLastUpdate(Date.now());
|
||||
});
|
||||
}, []);
|
||||
|
||||
@@ -104,10 +100,13 @@ function App() {
|
||||
return (
|
||||
<div>
|
||||
<div class='dashboard-title'>
|
||||
<img className="nscm-logo" src={require('./logo_nobg.png')} /> HPOS Sickel Cell Test Dashboard
|
||||
<img className="nscm-logo" src={require('./logo_nobg.png')} />
|
||||
<div className='title-text'>HPOS Sickel Cell Test Dashboard</div>
|
||||
<img className="gov-logo" src={require('./gov_logo2.png')} />
|
||||
<img className="gov-logo" src={require('./gov_logo3.png')} />
|
||||
</div>
|
||||
<div className='last-update'>
|
||||
Updated At: {Date(lastUpdate).toString()}
|
||||
Updated At: {Date(lastUpdate).toLocaleString()}
|
||||
</div>
|
||||
<div className='cards-container'>
|
||||
<div className='cards-row'>
|
||||
|
||||
Reference in New Issue
Block a user