Commit e6f09324 by OuiAtichat

Merge remote-tracking branch 'origin/dev' into dev

parents 015d816f ad057b6a
......@@ -162,16 +162,27 @@ class Home extends Component {
const { device, range, breakdown } = selectedFeed;
this.getFeedData(device, range, breakdown);
};
getMax(){
}
getMin(){
}
getAvg(){
}
getTotal(){
}
getLast(){
}
render() {
const {
currentUser,
......@@ -197,7 +208,7 @@ class Home extends Component {
{/* {Data.map((item, index) => (
<DataCard key={index} item={item} feedData={feedData} />
))} */}
<DataCard item={Data[0]} feedData={currentFeed} total={}/>
<DataCard item={Data[0]} feedData={currentFeed} total={currentLast}/>
<DataCard item={Data[1]} feedData={revenueFeed} total={revenueTotal} max={revenueMax} min={revenueMin} avg={revenueAvg}/>
<DataCard item={Data[2]} feedData={peopleFeed} total={peopleTotal} max={peopleMax} min={peopleMin} avg={peopleAvg}/>
<DataCard item={Data[3]} feedData={remoteFeed} total={remoteTotal} max={remoteMax} min={remoteMin} avg={remoteAvg}/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment