From 9d557785e31b018f4d148e7feb79f4ad1a091d0b Mon Sep 17 00:00:00 2001 From: Daniel Kaspo Date: Wed, 31 May 2017 19:58:03 -0400 Subject: [PATCH] linkify in markup.js now adds keys to multiple links. Notably, LID "VIEWWALLET_Subtitle" was causing an issue here, since it had more than one link. React was complaining about it but now it's all good. --- common/translations/markup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/translations/markup.js b/common/translations/markup.js index e7589ae8..5cf096d1 100644 --- a/common/translations/markup.js +++ b/common/translations/markup.js @@ -22,7 +22,7 @@ function linkify(mdString: string) { let i = 0; while (i + 1 < parts.length) { result.push(decodeHTMLEntities(parts[i])); - result.push({parts[i + 1]}); + result.push({parts[i + 1]}); i += 3; } result.push(decodeHTMLEntities(parts[parts.length - 1]));