Skip to content

Commit

Permalink
fix: correct jsx code sample syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
plexey committed Feb 12, 2018
1 parent 67934f7 commit 6796dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class ShowCase extends Component {
animationTime={500}
>
{images.map(image => {
<Image onClick={() => changeTargetIndex(i)} key={image.id} {...image} />
<Image onClick={() => this.changeTargetIndex(i)} key={image.id} {...image} />
})}
</DepthOfField>
);
Expand Down

0 comments on commit 6796dba

Please sign in to comment.