From 1fa8c7a56064d4ee49091c20456020c2a5b13eab Mon Sep 17 00:00:00 2001 From: Arthur Jamet Date: Tue, 23 May 2023 14:58:55 +0100 Subject: [PATCH] Front: Fix Score computation --- front/views/ScoreView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/views/ScoreView.tsx b/front/views/ScoreView.tsx index 6278d69..f33f259 100644 --- a/front/views/ScoreView.tsx +++ b/front/views/ScoreView.tsx @@ -37,7 +37,7 @@ const ScoreView = ({ songId, overallScore, score }: RouteProps) })) ?? [] ) - if (!recommendations.data || artistRecommendations.find(({ data }) => !data) || !songHistoryQuery.data || !songQuery.data || (songQuery.data.artistId && !artistQuery.data)) { + if (!recommendations.data || artistRecommendations.find(({ data }) => !data) || !songQuery.data || (songQuery.data.artistId && !artistQuery.data)) { return ; } // I think we don't need that anymore but /shrug