Commit 99ed30e2 authored by chrisgarrity's avatar chrisgarrity

Fix up favorites

Found a couple of typos now that API can process favorites.
parent 80de164d
......@@ -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