From bf0f681d466479f6c625a9bcc6862aafea94adc9 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 24 Jul 2023 11:37:23 +0300 Subject: [PATCH] Fix children with the same key and make scrollTop optional --- frontend/src/Collection/Overview/CollectionOverviews.js | 2 +- frontend/src/Movie/History/MovieHistoryRow.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/Collection/Overview/CollectionOverviews.js b/frontend/src/Collection/Overview/CollectionOverviews.js index d803e339e0..9f33f49568 100644 --- a/frontend/src/Collection/Overview/CollectionOverviews.js +++ b/frontend/src/Collection/Overview/CollectionOverviews.js @@ -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, diff --git a/frontend/src/Movie/History/MovieHistoryRow.js b/frontend/src/Movie/History/MovieHistoryRow.js index 9e28004491..f77fa6bffd 100644 --- a/frontend/src/Movie/History/MovieHistoryRow.js +++ b/frontend/src/Movie/History/MovieHistoryRow.js @@ -100,13 +100,13 @@ class MovieHistoryRow extends Component { /> - + - + {formatCustomFormatScore(customFormatScore)}