Skip to content

Commit

Permalink
fix: prop types warnings DHIS2-8334 (#569)
Browse files Browse the repository at this point in the history
* chore: update @dhis2/analytics dep to fix ou dialog spinner

* fix: fix props type warnings DHIS2-8334

* chore: attempt to fix broken build

Co-authored-by: Martin <martin@moid.se>
  • Loading branch information
edoardo and martinkrulltott authored Feb 26, 2020
1 parent ae5c95f commit 381ce06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/actions/dashboards.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const tSelectDashboard = id => async (dispatch, getState) => {
dispatch(acClearItemFilters());
}
} else {
dispatch(acSetSelectedId(false));
dispatch(acSetSelectedId());
}
} catch (err) {
return onError(err);
Expand Down
2 changes: 1 addition & 1 deletion src/components/ItemFilter/FilterSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ FilterSelector.propTypes = {
addItemFilter: PropTypes.func,
clearActiveModalDimension: PropTypes.func,
dimension: PropTypes.object,
dimensions: PropTypes.object,
dimensions: PropTypes.array,
displayNameProperty: PropTypes.string,
removeEditItemFilter: PropTypes.func,
removeItemFilter: PropTypes.func,
Expand Down

0 comments on commit 381ce06

Please sign in to comment.