From ba72f55b03cbdfef962b4c6436fcb687afff0bce Mon Sep 17 00:00:00 2001 From: Beaudan Brown Date: Fri, 30 Aug 2019 11:56:59 +1000 Subject: [PATCH] Fix missing react key error --- ts/components/conversation/Linkify.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/components/conversation/Linkify.tsx b/ts/components/conversation/Linkify.tsx index 0f27953d7..6562b6ed8 100644 --- a/ts/components/conversation/Linkify.tsx +++ b/ts/components/conversation/Linkify.tsx @@ -25,10 +25,12 @@ export class Linkify extends React.Component { public render() { const { text, renderNonLink, isRss } = this.props; const results: Array = []; + let count = 1; if (isRss && text.indexOf(' { const matchData = linkify.match(text) || []; let last = 0; - let count = 1; // We have to do this, because renderNonLink is not required in our Props object, // but it is always provided via defaultProps.