From 1be37161ef3e2ff98ad52453d9f4af29cad20f9a Mon Sep 17 00:00:00 2001 From: Mashy Date: Thu, 31 Oct 2019 15:34:05 +1000 Subject: [PATCH] info description fix --- client/src/components/info.component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/info.component.jsx b/client/src/components/info.component.jsx index 1c7010fc..0666010a 100644 --- a/client/src/components/info.component.jsx +++ b/client/src/components/info.component.jsx @@ -69,7 +69,7 @@ class InfoComponent extends preact.Component { const isSpec = fullInfo.spec; const itemDescription = () => { - const regEx = /(RedPower|BluePower|GreenPower|RedLife|BlueLife|GreenLife|SpeedStat)/; + const regEx = /(RedPower|BluePower|GreenPower|RedLife|BlueLife|GreenLife|SpeedStat|LIFE|SPEED|POWER)/; const infoDescription = reactStringReplace(fullInfo.description, regEx, m => shapes[m]()); return
{reactStringReplace(infoDescription, '\n', () =>
)}
; };