fix Merge conflict.

This commit is contained in:
Ahmed Bouhuolia
2020-03-26 14:02:52 +02:00
parent ae29d20cc9
commit 6fd1afaba7
25 changed files with 923 additions and 454 deletions

View File

@@ -1,6 +1,4 @@
import { connect } from 'react-redux';
import t from 'store/types';

View File

@@ -5,6 +5,7 @@ import {
fetchItems,
fetchItem,
deleteItem,
submitItem,
} from 'store/items/items.actions';
import {
getResourceViews,
@@ -30,6 +31,7 @@ export const mapStateToProps = (state, props) => {
export const mapDispatchToProps = (dispatch) => ({
fetchItems: (query) => dispatch(fetchItems({ query })),
requestDeleteItem: (id) => dispatch(deleteItem({ id })),
requestSubmitItem: (form) => dispatch(submitItem({ form })),
addBulkActionItem: (id) => dispatch({
type: t.ITEM_BULK_ACTION_ADD, itemId: id
}),
@@ -38,4 +40,4 @@ export const mapDispatchToProps = (dispatch) => ({
}),
});
export default connect(mapStateToProps, mapDispatchToProps);
export default connect(mapStateToProps, mapDispatchToProps);