File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ function NewEvents() {
109109 </ Grid >
110110 < Grid container className = { classes . event } >
111111 { attendingEvent . length > 0 &&
112- attendingEvent . map ( event => (
113- < Grid className = { classes . eventText } >
112+ attendingEvent . map ( ( event , idx ) => (
113+ < Grid key = { idx } className = { classes . eventText } >
114114 < img
115115 style = { { borderRadius : '8px' , width : '74px' , height : '71px' } }
116116 src = { event . bannerImg }
Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ function ProfileEvents({ userEvents }) {
8181 </ Grid >
8282 </ Grid >
8383 < Grid container className = { classes . event } >
84- { userEvents ?. map ( event => (
85- < Grid className = { classes . eventText } >
84+ { userEvents ?. map ( ( event , idx ) => (
85+ < Grid key = { idx } className = { classes . eventText } >
8686 < img
8787 style = { { borderRadius : '8px' , width : '74px' , height : '71px' } }
8888 src = { event . bannerImg }
You can’t perform that action at this time.
0 commit comments