File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/AggregationPanel Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,11 @@ const AggregationPanel = ({
113113 case 'table' :
114114 return < TableElement key = { idx } columns = { item . columns } rows = { item . rows } style = { item . style } /> ;
115115 case 'image' :
116- return < ImageElement key = { idx } url = { item . url } style = { item . style } /> ;
116+ return < ImageElement key = { ` ${ idx } - ${ item . url } ` } url = { item . url } style = { item . style } /> ;
117117 case 'video' :
118- return < VideoElement key = { idx } url = { item . url } style = { item . style } /> ;
118+ return < VideoElement key = { ` ${ idx } - ${ item . url } ` } url = { item . url } style = { item . style } /> ;
119119 case 'audio' :
120- return < AudioElement key = { idx } url = { item . url } style = { item . style } /> ;
120+ return < AudioElement key = { ` ${ idx } - ${ item . url } ` } url = { item . url } style = { item . style } /> ;
121121 case 'button' :
122122 return < ButtonElement key = { idx } item = { item } showNote = { showNote } style = { item . style } /> ;
123123 case 'panel' :
You can’t perform that action at this time.
0 commit comments