fix : Testimonials of key prop error

This commit is contained in:
mki-skt 2018-04-13 00:11:05 +09:00
parent 8fc632144b
commit 2ad73a09f0

View file

@ -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 />