mirror of https://github.com/Radarr/Radarr
Code review fixes
This commit is contained in:
parent
ecfcf2ef63
commit
d2bec49664
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue