From 32ebb516346275fa64bebdfe0daa93941af1dc3a Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 27 Nov 2022 15:06:40 -0800 Subject: [PATCH] Fixed some react warnings with ReleaseSceneIndicator --- .../InteractiveSearch/ReleaseSceneIndicator.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/frontend/src/InteractiveSearch/ReleaseSceneIndicator.js b/frontend/src/InteractiveSearch/ReleaseSceneIndicator.js index 801f79b94..c366ee9a2 100644 --- a/frontend/src/InteractiveSearch/ReleaseSceneIndicator.js +++ b/frontend/src/InteractiveSearch/ReleaseSceneIndicator.js @@ -78,14 +78,14 @@ function ReleaseSceneIndicator(props) { if (isMixed) { level = styles.levelMixed; - messages.push(
{comment ?? 'Source'} releases exist with ambiguous numbering, unable to reliably identify episode.
); + messages.push(
{comment ?? 'Source'} releases exist with ambiguous numbering, unable to reliably identify episode.
); } else if (isUnknown) { level = styles.levelUnknown; - messages.push(
Numbering varies for this episode and release does not match any known mappings.
); + messages.push(
Numbering varies for this episode and release does not match any known mappings.
); if (sceneOrigin === 'unknown') { - messages.push(
Assuming Scene numbering.
); + messages.push(
Assuming Scene numbering.
); } else if (sceneOrigin === 'unknown:tvdb') { - messages.push(
Assuming TheTVDB numbering.
); + messages.push(
Assuming TheTVDB numbering.
); } } else if (mappingDifferent) { level = styles.levelMapped; @@ -98,9 +98,9 @@ function ReleaseSceneIndicator(props) { level = styles.levelNotRequested; } if (mappedNumber) { - messages.push(
Mapped episode wasn't requested in this search.
); + messages.push(
Mapped episode wasn't requested in this search.
); } else { - messages.push(
Unknown episode or series.
); + messages.push(
Unknown episode or series.
); } } @@ -152,10 +152,7 @@ function ReleaseSceneIndicator(props) { - + } title="Scene Info"