Score View: Fix Condition

This commit is contained in:
Arthur Jamet
2023-04-26 14:22:46 +01:00
committed by Clément Le Bihan
parent f640b0d6f8
commit d0597f0e95
+1 -1
View File
@@ -25,7 +25,7 @@ const ScoreView = ({ songId, route }: RouteProps<ScoreViewProps>) => {
if (!recommendations.data || !songScoreQuery.data || !songQuery.data || (songQuery.data.artistId && !artistQuery.data)) {
return <LoadingView/>;
}
return <ScrollView p={8} contentContainerStyle={{ alignItems: 'center' }}>
<VStack width={{ base: '100%', lg: '50%' }} textAlign='center'>
<Text bold fontSize='lg'>{songQuery.data.name}</Text>