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 = () => {
37
37
containerClass = "testimonial-container"
38
38
itemClass = "testimonial-item"
39
39
>
40
- { Data . map ( ( testimonial ) => {
40
+ { Data . map ( ( testimonial , index ) => {
41
41
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" >
47
47
< Image
48
48
alt = "User Image"
49
49
width = "100%"
50
50
src = { testimonial . image }
51
51
/>
52
52
</ 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" >
56
56
{ testimonial . description }
57
57
</ p >
58
58
</ div >
You can’t perform that action at this time.
0 commit comments