fix: change color & variant pour le total des votes

This commit is contained in:
2026-01-24 22:25:53 +04:00
parent c2f8a4fb19
commit b838f46b2b
+2 -1
View File
@@ -177,7 +177,8 @@ export default function VersionComparison({versionData, versionCompare, voteRefr
<Chip
label={`Total: ${voteCounts.total >= 0 ? '+' : ''}${voteCounts.total}`}
size='small'
color={voteCounts.total > 0 ? 'success' : (voteCounts.total < 0 ? 'error' : 'default')}
color={voteCounts.total > 0 ? 'success' : (voteCounts.total < 0 ? 'error' : 'primary')}
variant='outlined'
/>
</Box>
</Box>