diff --git a/projects/website/src/components/score/badges/hand-accuracy.tsx b/projects/website/src/components/score/badges/hand-accuracy.tsx index 74bd2ee..970699b 100644 --- a/projects/website/src/components/score/badges/hand-accuracy.tsx +++ b/projects/website/src/components/score/badges/hand-accuracy.tsx @@ -16,16 +16,33 @@ export function HandAccuracyBadge({ score, hand }: HandAccuracyProps) { } const { handAccuracy } = score.additionalData; const scoreImprovement = score.additionalData.scoreImprovement; + const currentHandAccuracy = handAccuracy[hand]; const previousHandAccuracy = scoreImprovement ? handAccuracy[hand] - scoreImprovement.handAccuracy[hand] : undefined; const formattedHand = capitalizeFirstLetter(hand); return (
{handAccuracy[hand].toFixed(2)}
+{formattedHand} Hand Accuracy
+Hand Accuracy: {currentHandAccuracy.toFixed(2)}
+Accuracy: {((currentHandAccuracy / 115) * 100).toFixed(2)}%
+ > + } + > +{currentHandAccuracy.toFixed(2)}
{formattedHand} Hand Accuracy
+Hand Accuracy: {previousHandAccuracy.toFixed(2)}
+Accuracy: {((previousHandAccuracy / 115) * 100).toFixed(2)}%
+ > + } + >