fix(notes): combine keys
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m9s

This commit is contained in:
en 2025-03-11 17:56:11 +00:00
parent bc8252e271
commit 3900fb7926

View File

@ -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)`