Unverified Commit b64e0d2a authored by chrisgarrity's avatar chrisgarrity Committed by GitHub

Merge pull request #1908 from chrisgarrity/feature/preview-favorites

Fix up favorites
parents 80de164d 99ed30e2
......@@ -184,7 +184,7 @@ const PreviewPresentation = props => {
{loveCount}
</div>
<div
className={classNames('project-favorites', {faved: faved})}
className={classNames('project-favorites', {favorited: faved})}
key="favorites"
onClick={onFavoriteClicked}
>
......
......@@ -322,7 +322,7 @@ const mapDispatchToProps = dispatch => ({
dispatch(previewActions.getFavedStatus(id, username, token));
},
setFavedStatus: (faved, id, username, token) => {
dispatch(previewActions.setLovedStatus(faved, id, username, token));
dispatch(previewActions.setFavedStatus(faved, id, username, token));
},
getLovedStatus: (id, username, token) => {
dispatch(previewActions.getLovedStatus(id, username, token));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment