mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Fix up favorites
Found a couple of typos now that API can process favorites.
This commit is contained in:
parent
80de164d02
commit
99ed30e2c8
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue