Skip to content

Commit e553669

Browse files
CopilotSkn0tt
andauthored
Fix: Add unique key prop to React elements in FilmStrip component (#37817)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Skn0tt <14912729+Skn0tt@users.noreply.github.com>
1 parent 99515d7 commit e553669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/trace-viewer/src/ui/actionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export function renderTitleForCall(action: ActionTraceEvent): { elements: React.
171171
elements.push(param);
172172
title.push(param);
173173
} else {
174-
elements.push(<span className='action-title-param'>{param}</span>);
174+
elements.push(<span key={elements.length} className='action-title-param'>{param}</span>);
175175
title.push(param);
176176
}
177177
currentIndex = match.index + fullMatch.length;

0 commit comments

Comments
 (0)