1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-05 15:47:20 +02:00

Fix children with the same key and make scrollTop optional

This commit is contained in:
Bogdan 2023-07-24 11:37:23 +03:00
parent f9cb4c1abd
commit bf0f681d46
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

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