From e5be15c9540f27f7612ab0303d4be6c17e37bf99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Delattre?= Date: Thu, 2 Apr 2020 16:50:09 +0200 Subject: [PATCH] Fix warnings on the show page --- frontend/js/components/buttons/imdb.js | 4 ++-- frontend/js/components/shows/route.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/js/components/buttons/imdb.js b/frontend/js/components/buttons/imdb.js index 42e0d2d..6367571 100644 --- a/frontend/js/components/buttons/imdb.js +++ b/frontend/js/components/buttons/imdb.js @@ -7,7 +7,7 @@ export const ImdbBadge = ({ imdbId }) => { } return ( -
+ { IMDb -
+ ); }; ImdbBadge.propTypes = { imdbId: PropTypes.string }; diff --git a/frontend/js/components/shows/route.js b/frontend/js/components/shows/route.js index 94664ba..5db1311 100644 --- a/frontend/js/components/shows/route.js +++ b/frontend/js/components/shows/route.js @@ -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, -- 2.47.1