mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fix duplicate key in Linkify
This commit is contained in:
@@ -85,7 +85,8 @@ export class Linkify extends React.Component<Props> {
|
||||
|
||||
chunkData.forEach(({ chunk, matchData }) => {
|
||||
if (matchData.length === 0) {
|
||||
results.push(renderNonLink({ text: chunk, key: 0 }));
|
||||
count += 1;
|
||||
results.push(renderNonLink({ text: chunk, key: count }));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user