Commit 37011dd8 by Ryan McKinley Committed by GitHub

GettingStarted: add key and remove ng-class (#17007)

parent e7930a27
...@@ -152,11 +152,11 @@ export class GettingStarted extends PureComponent<PanelProps, State> { ...@@ -152,11 +152,11 @@ export class GettingStarted extends PureComponent<PanelProps, State> {
<i className="fa fa-remove" /> <i className="fa fa-remove" />
</button> </button>
<div className="progress-tracker"> <div className="progress-tracker">
{this.steps.map(step => { {this.steps.map((step, index) => {
return ( return (
<div className={step.done ? 'progress-step completed' : 'progress-step active'}> <div key={index} className={step.done ? 'progress-step completed' : 'progress-step active'}>
<a className="progress-link" href={step.href} target={step.target} title={step.note}> <a className="progress-link" href={step.href} target={step.target} title={step.note}>
<span className="progress-marker" ng-className="step.cssClass"> <span className="progress-marker">
<i className={step.icon} /> <i className={step.icon} />
</span> </span>
<span className="progress-text">{step.title}</span> <span className="progress-text">{step.title}</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment