Fix typo xtrack -> track

This commit is contained in:
Paul Bienkowski 2021-11-30 23:36:53 +01:00
parent 525004ab15
commit 40784ba51e

View file

@ -73,7 +73,7 @@ export default function Stats({user = null}: {user?: null | string}) {
<Statistic.Group widths={2} size="tiny"> <Statistic.Group widths={2} size="tiny">
<Statistic> <Statistic>
<Statistic.Value>{stats ? `${Number(stats?.trackLength / 1000).toFixed(1)} km` : '...'}</Statistic.Value> <Statistic.Value>{stats ? `${Number(stats?.trackLength / 1000).toFixed(1)} km` : '...'}</Statistic.Value>
<Statistic.Label>Total xtrack length</Statistic.Label> <Statistic.Label>Total track length</Statistic.Label>
</Statistic> </Statistic>
<Statistic> <Statistic>
<Statistic.Value>{stats ? formatDuration(stats?.trackDuration) : '...'}</Statistic.Value> <Statistic.Value>{stats ? formatDuration(stats?.trackDuration) : '...'}</Statistic.Value>