update-js-stuff #14

Manually merged
gregdel merged 1 commits from update-js-stuff into master 2020-04-02 15:02:46 +00:00
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ export const ImdbBadge = ({ imdbId }) => {
}
return (
<h5 className="d-inline">
<span className="d-inline">
<a
className="btn btn-sm btn-warning m-1"
href={`https://www.imdb.com/title/${imdbId}`}
@ -15,7 +15,7 @@ export const ImdbBadge = ({ imdbId }) => {
IMDb
<i className="ml-1 fa fa-external-link"></i>
</a>
</h5>
</span>
);
};
ImdbBadge.propTypes = { imdbId: PropTypes.string };

View File

@ -65,7 +65,7 @@ const ShowsRoute = ({
);
};
ShowsRoute.propTypes = {
component: PropTypes.func,
component: PropTypes.object,
match: PropTypes.object,
isExplorerFetched: PropTypes.bool.isRequired,
fetchShows: PropTypes.func.isRequired,