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}>
{getRelativeDate(
inCinemas,
shortDateFormat,
showRelativeDates,
{
timeFormat,
timeForToday: false
}
)}
</div>
{getRelativeDate(
inCinemas,
shortDateFormat,
showRelativeDates,
{
timeFormat,
timeForToday: false
}
)}
</div>
}
{

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

Loading…
Cancel
Save