Add keys for steps (future-proof)

This commit is contained in:
Jaco Greeff
2016-12-15 15:56:50 +01:00
parent 5e59e0b9d3
commit 9dd1268b69
3 changed files with 25 additions and 19 deletions

View File

@@ -72,7 +72,7 @@ export default class Title extends Component {
return steps.map((label, index) => {
return (
<Step
key={ index }>
key={ label.key || index }>
<StepLabel>
{ label }
</StepLabel>