From fe23c985a293edab845ec66643de678dd5d9bdc1 Mon Sep 17 00:00:00 2001 From: Robin Dadswell Date: Tue, 12 Jan 2021 20:41:41 +0000 Subject: [PATCH] linting fixes --- .../Movie/Index/Posters/MovieIndexPoster.js | 22 +++++++++---------- .../MovieIndexPosterOptionsModalContent.js | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/Movie/Index/Posters/MovieIndexPoster.js b/frontend/src/Movie/Index/Posters/MovieIndexPoster.js index 9cd27b1fb..8a5035049 100644 --- a/frontend/src/Movie/Index/Posters/MovieIndexPoster.js +++ b/frontend/src/Movie/Index/Posters/MovieIndexPoster.js @@ -270,18 +270,18 @@ class MovieIndexPoster extends Component { } { - showCinemaRelease && + showCinemaRelease &&
- {getRelativeDate( - inCinemas, - shortDateFormat, - showRelativeDates, - { - timeFormat, - timeForToday: false - } - )} -
+ {getRelativeDate( + inCinemas, + shortDateFormat, + showRelativeDates, + { + timeFormat, + timeForToday: false + } + )} + } { diff --git a/frontend/src/Movie/Index/Posters/Options/MovieIndexPosterOptionsModalContent.js b/frontend/src/Movie/Index/Posters/Options/MovieIndexPosterOptionsModalContent.js index fb0bb8710..483c6dbd6 100644 --- a/frontend/src/Movie/Index/Posters/Options/MovieIndexPosterOptionsModalContent.js +++ b/frontend/src/Movie/Index/Posters/Options/MovieIndexPosterOptionsModalContent.js @@ -73,7 +73,7 @@ class MovieIndexPosterOptionsModalContent extends Component { state.showQualityProfile = showQualityProfile; } - if (showCinemaRelease != prevProps.showCinemaRelease) { + if (showCinemaRelease !== prevProps.showCinemaRelease) { state.showCinemaRelease = showCinemaRelease; }