Skip to content

Commit

Permalink
fix : Testimonials of key prop error
Browse files Browse the repository at this point in the history
  • Loading branch information
sakit0 committed Apr 12, 2018
1 parent 8fc6321 commit 2ad73a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Testimonials.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import PropTypes from 'prop-types'

const Testimonials = ({ testimonials }) => (
<div>
{testimonials.map(testimonial => (
<article className="message">
{testimonials.map((testimonial,index) => (
<article key={index} className="message">
<div className="message-body">
{testimonial.quote}
<br />
Expand Down

0 comments on commit 2ad73a0

Please sign in to comment.