Revert to older style
This commit is contained in:
parent
6d3c6f87a8
commit
d138b2ec9d
@ -41,28 +41,20 @@ export default class ScoreStats extends Component {
|
||||
<p>{data.currentScore.toLocaleString()}</p>
|
||||
{currentPP !== undefined ? <p>{currentPP.toFixed(0)}pp</p> : null}
|
||||
</div>
|
||||
<div>
|
||||
<p className={styles.scoreStatsAverageCut}>Average Cut</p>
|
||||
<div className={styles.scoreStatsHands}>
|
||||
<div className={styles.scoreStatsLeft}>
|
||||
<p>{this.getAverage(data.leftHand.averagePreSwing).toFixed(2)}</p>
|
||||
<p>
|
||||
{this.getAverage(data.leftHand.averagePostSwing).toFixed(2)}
|
||||
</p>
|
||||
<p>{this.getAverage(data.leftHand.averagePostSwing).toFixed(2)}</p>
|
||||
<p>{this.getAverage(data.leftHand.averageCut).toFixed(2)}</p>
|
||||
</div>
|
||||
<div className={styles.scoreStatsRight}>
|
||||
<p>
|
||||
{this.getAverage(data.rightHand.averagePreSwing).toFixed(2)}
|
||||
</p>
|
||||
<p>
|
||||
{this.getAverage(data.rightHand.averagePostSwing).toFixed(2)}
|
||||
</p>
|
||||
<p>{this.getAverage(data.rightHand.averagePreSwing).toFixed(2)}</p>
|
||||
<p>{this.getAverage(data.rightHand.averagePostSwing).toFixed(2)}</p>
|
||||
<p>{this.getAverage(data.rightHand.averageCut).toFixed(2)}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user