Client: minor fix

This commit is contained in:
Sam 2018-06-12 13:23:58 +02:00
parent 85d335da97
commit dda193fd13
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ class Statistics extends React.Component {
<ResponsiveContainer height={300}>
<BarChart
data={stats[displayedData]}
margin={{ top: 15, bottom: 15 }}
margin={{ top: 15, bottom: 0 }}
>
<XAxis
dataKey="date"

View File

@ -19,7 +19,7 @@ export default function UserStatistics (props) {
<i className="fa fa-calendar fa-3x fa-color" />
</div>
<div className="col-9 text-right">
<div className="huge">{user.nbActivities}</div>
<div className="huge">{user.nb_activities}</div>
<div>{`workout${user.nb_activities === 1 ? '' : 's'}`}</div>
</div>
</div>