fix(notes): combine keys
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m9s
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m9s
This commit is contained in:
parent
bc8252e271
commit
3900fb7926
@ -247,7 +247,7 @@ export const NoteRender = ({ content }: NoteRenderProps) => {
|
||||
if (imgGroup.length > 0) {
|
||||
groupedParts.push(
|
||||
<div
|
||||
key={`group-${index}-${groupedParts.length}`}
|
||||
key={imgGroup.join('-')}
|
||||
className='IBMSMSMBSSCL_CBImgGroup'
|
||||
style={{
|
||||
gridTemplateColumns: `repeat(${Math.min(
|
||||
@ -268,7 +268,7 @@ export const NoteRender = ({ content }: NoteRenderProps) => {
|
||||
if (imgGroup.length > 0) {
|
||||
groupedParts.push(
|
||||
<div
|
||||
key={`group-last-${groupedParts.length}`}
|
||||
key={imgGroup.join('-')}
|
||||
className='IBMSMSMBSSCL_CBImgGroup'
|
||||
style={{
|
||||
gridTemplateColumns: `repeat(${imgGroup.length}, 1fr)`
|
||||
|
Loading…
x
Reference in New Issue
Block a user