File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/components/Testimonials Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -37,22 +37,22 @@ const Testimonials = () => {
3737 containerClass = "testimonial-container"
3838 itemClass = "testimonial-item"
3939 >
40- { Data . map ( ( testimonial ) => {
40+ { Data . map ( ( testimonial , index ) => {
4141 return (
42- < div class = "testimonial-card" >
43- < div class = "testimonial-card-text" > { testimonial . quote } </ div >
44- < div class = "testimonial-card-footer-container" >
45- < div class = "testimonial-card-footer" >
46- < div class = "testimonial-image" >
42+ < div className = "testimonial-card" key = { index } >
43+ < div className = "testimonial-card-text" > { testimonial . quote } </ div >
44+ < div className = "testimonial-card-footer-container" >
45+ < div className = "testimonial-card-footer" >
46+ < div className = "testimonial-image" >
4747 < Image
4848 alt = "User Image"
4949 width = "100%"
5050 src = { testimonial . image }
5151 />
5252 </ div >
53- < h3 class = "testimonial-person-name" > { testimonial . name } </ h3 >
54- < h4 class = "testimonial-person-role" > { testimonial . role } </ h4 >
55- < p class = "testimonial-person-description" >
53+ < h3 className = "testimonial-person-name" > { testimonial . name } </ h3 >
54+ < h4 className = "testimonial-person-role" > { testimonial . role } </ h4 >
55+ < p className = "testimonial-person-description" >
5656 { testimonial . description }
5757 </ p >
5858 </ div >
You can’t perform that action at this time.
0 commit comments