Code review fixes

This commit is contained in:
john.bednarczyk 2024-02-03 11:48:34 -06:00
parent ecfcf2ef63
commit d2bec49664
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class CollectionOverviews extends Component {
posterWidth: 162,
posterHeight: 238,
rowHeight: calculateRowHeight(238, null, props.isSmallScreen, {}),
navigateToId: props.location.state ? props.location.state.navigateToId : 0
navigateToId: props.location.state?.navigateToId ?? 0
};
this._grid = null;

View File

@ -51,7 +51,7 @@ MovieCollectionLabel.propTypes = {
title: PropTypes.string.isRequired,
monitored: PropTypes.bool.isRequired,
onMonitorTogglePress: PropTypes.func.isRequired,
tmdbId: PropTypes.string.isRequired
tmdbId: PropTypes.number.isRequired
};
export default MovieCollectionLabel;