diff --git a/src/common/components/DappListItem/DappListItem.container.js b/src/common/components/DappListItem/DappListItem.container.js index c663690..177faaf 100644 --- a/src/common/components/DappListItem/DappListItem.container.js +++ b/src/common/components/DappListItem/DappListItem.container.js @@ -4,10 +4,12 @@ import { showDownVoteAction, showUpVoteAction, } from '../../../modules/Vote/Vote.reducer' +import { toggleProfileModalAction } from '../../../modules/Profile/Profile.reducer' const mapDispatchToProps = dispatch => ({ onClickUpVote: () => dispatch(showUpVoteAction()), onClickDownVote: () => dispatch(showDownVoteAction()), + onToggleProfileModal: data => dispatch(toggleProfileModalAction(data)), }) export default connect( diff --git a/src/common/components/DappListItem/DappListItem.jsx b/src/common/components/DappListItem/DappListItem.jsx index b18bab3..3c6a88e 100644 --- a/src/common/components/DappListItem/DappListItem.jsx +++ b/src/common/components/DappListItem/DappListItem.jsx @@ -16,15 +16,29 @@ const DappListItem = props => { image, isRanked, position, + category, showActionButtons, onClickUpVote, onClickDownVote, + onToggleProfileModal, } = props return (
{description}
+{description}
+