From ace6db898b5aa36c27a16bbcd5eaec52f8866270 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 13 Oct 2025 12:43:11 -0700 Subject: fix: duplicate title and artist keys in other section --- frontend/src/components/displays/DivaScoreDisplay.tsx | 4 +++- frontend/src/components/displays/MusicDiverScoreDisplay.tsx | 4 +++- frontend/src/components/displays/NostalgiaScoreDisplay.tsx | 4 +++- frontend/src/components/displays/ReflecBeatScoreDisplay.tsx | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'frontend/src/components/displays') diff --git a/frontend/src/components/displays/DivaScoreDisplay.tsx b/frontend/src/components/displays/DivaScoreDisplay.tsx index 3870fd3..9e4a47f 100644 --- a/frontend/src/components/displays/DivaScoreDisplay.tsx +++ b/frontend/src/components/displays/DivaScoreDisplay.tsx @@ -231,7 +231,9 @@ const DivaScoreDisplay: React.FC = ({ ([key]) => !mainStatKeys.includes(key) && !expandableKeys.includes(key) && - key !== "timestamp", + key !== "timestamp" && + key !== "title" && + key !== "artist" ); return { diff --git a/frontend/src/components/displays/MusicDiverScoreDisplay.tsx b/frontend/src/components/displays/MusicDiverScoreDisplay.tsx index 4e7f41b..2b7d186 100644 --- a/frontend/src/components/displays/MusicDiverScoreDisplay.tsx +++ b/frontend/src/components/displays/MusicDiverScoreDisplay.tsx @@ -181,7 +181,9 @@ const MusicDiverDisplay: React.FC = ({ ([key]) => !mainStatKeys.includes(key) && !expandableKeys.includes(key) && - key !== "timestamp", + key !== "timestamp" && + key !== "title" && + key !== "artist", ); return { diff --git a/frontend/src/components/displays/NostalgiaScoreDisplay.tsx b/frontend/src/components/displays/NostalgiaScoreDisplay.tsx index cfc3d09..bb01379 100644 --- a/frontend/src/components/displays/NostalgiaScoreDisplay.tsx +++ b/frontend/src/components/displays/NostalgiaScoreDisplay.tsx @@ -183,7 +183,9 @@ const NostalgiaScoreDisplay: React.FC = ({ ([key]) => !mainStatKeys.includes(key) && !expandableKeys.includes(key) && - key !== "timestamp", + key !== "timestamp" && + key !== "title" && + key !== "artist", ); return { diff --git a/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx b/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx index 39ea4f7..b11983e 100644 --- a/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx +++ b/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx @@ -189,7 +189,9 @@ const ReflecBeatScoreDisplay: React.FC = ({ ([key]) => !mainStatKeys.includes(key) && !expandableKeys.includes(key) && - key !== "timestamp", + key !== "timestamp" && + key !== "title" && + key !== "artist", ); return { -- cgit v1.2.3