Skip to content

Commit

Permalink
finished the data connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Hoang committed Jun 27, 2018
1 parent 748e97d commit 366e986
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/views/Dashboard/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ import CardFooter from "components/Card/CardFooter.jsx";
import dashboardStyle from "assets/jss/material-dashboard-react/views/dashboardStyle.jsx";

function mapStateToProps(state) {
debugger;

return {
charts: state.charts,
general: state.general
charts: state.charts.data || {},
general: state.general.data || {}
};
}

Expand Down

0 comments on commit 366e986

Please sign in to comment.