linting fixes

pull/5848/head
Robin Dadswell 4 years ago committed by Qstick
parent 4ffd0d2ddb
commit fe23c985a2

@ -270,18 +270,18 @@ class MovieIndexPoster extends Component {
} }
{ {
showCinemaRelease && showCinemaRelease &&
<div className={styles.title}> <div className={styles.title}>
{getRelativeDate( {getRelativeDate(
inCinemas, inCinemas,
shortDateFormat, shortDateFormat,
showRelativeDates, showRelativeDates,
{ {
timeFormat, timeFormat,
timeForToday: false timeForToday: false
} }
)} )}
</div> </div>
} }
{ {

@ -73,7 +73,7 @@ class MovieIndexPosterOptionsModalContent extends Component {
state.showQualityProfile = showQualityProfile; state.showQualityProfile = showQualityProfile;
} }
if (showCinemaRelease != prevProps.showCinemaRelease) { if (showCinemaRelease !== prevProps.showCinemaRelease) {
state.showCinemaRelease = showCinemaRelease; state.showCinemaRelease = showCinemaRelease;
} }

Loading…
Cancel
Save