Working on example-reactions

This commit is contained in:
SachaG 2017-09-29 07:36:22 +09:00
parent c623e9a649
commit 67bd176c95
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,8 @@ const MoviesList = ({results = [], currentUser, loading, loadMore, count, totalC
<div style={{maxWidth: '500px', margin: '20px auto'}}>
<Components.FlashMessages />
<Helmet>
<link name="bootstrap" rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css"/>
</Helmet>

View file

@ -60,6 +60,7 @@ Reaction.propTypes = {
vote: PropTypes.func.isRequired, // mutate function with callback inside
currentUser: PropTypes.object, // user might not be logged in, so don't make it required
};
Reaction.contextTypes = {
intl: intlShape
};