Fix children with the same key and make scrollTop optional

pull/8883/head
Bogdan 1 year ago
parent f9cb4c1abd
commit bf0f681d46

@ -258,7 +258,7 @@ CollectionOverviews.propTypes = {
sortKey: PropTypes.string,
overviewOptions: PropTypes.object.isRequired,
jumpToCharacter: PropTypes.string,
scrollTop: PropTypes.number.isRequired,
scrollTop: PropTypes.number,
scroller: PropTypes.instanceOf(Element).isRequired,
showRelativeDates: PropTypes.bool.isRequired,
shortDateFormat: PropTypes.string.isRequired,

@ -100,13 +100,13 @@ class MovieHistoryRow extends Component {
/>
</TableRowCell>
<TableRowCell key={name}>
<TableRowCell>
<MovieFormats
formats={customFormats}
/>
</TableRowCell>
<TableRowCell key={name}>
<TableRowCell>
{formatCustomFormatScore(customFormatScore)}
</TableRowCell>

Loading…
Cancel
Save