fix fetching incidents for specific dates from frontend

This commit is contained in:
Bilal Catic
2019-06-18 10:14:11 +02:00
parent 69cc120f54
commit 1371ab0580
2 changed files with 4 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ const mapStateToProps = (state) => ({
});
const mapDispatchToProps = (dispatch) => ({
fetchIncidents: () => fetchIncidents(dispatch),
fetchIncidents: (dateRange) => fetchIncidents(dispatch, dateRange),
});
export default connect(mapStateToProps, mapDispatchToProps)(IncidentsReport);