Skip to content

Comments

BCN 04/19 - Gus#33

Open
Gusbe wants to merge 2 commits intoironhackbcn:masterfrom
Gusbe:master
Open

BCN 04/19 - Gus#33
Gusbe wants to merge 2 commits intoironhackbcn:masterfrom
Gusbe:master

Conversation

@Gusbe
Copy link

@Gusbe Gusbe commented May 14, 2019

No description provided.

Copy link

@tawebbcn tawebbcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good! I think now you could try to finish the exercise with the review


<div className="main">
<h1>IronContacts</h1>
<RandomButton clickToAddRandom={ () => this.addRandomActor()} />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to add this arrow function, just passing the function from the class as a parameter would be enough. clickToAddRandom={this.addRandomActor}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants