make slider tooltip display quadratic

This commit is contained in:
Barry Gitarts 2018-06-27 15:50:08 -04:00
parent 2422420282
commit 06a6cceb46
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class Poll extends PureComponent {
Number of voters: {_voters}
</Typography>
</CardContent>
<Tooltip id="tooltip-icon" placement="top" title={`${value} SNT`}>
<Tooltip id="tooltip-icon" placement="top" title={`${value * value} SNT`}>
<CardActions>
<Slider value={value} min={0} max={6} step={1} onChange={this.handleChange} />
<Button variant="contained" color="primary">Vote</Button>