From 307a887053309dfd62181a4256470b33794d1a70 Mon Sep 17 00:00:00 2001 From: Chunkybanana <62921243+chunkybanana@users.noreply.github.com> Date: Tue, 6 Dec 2022 20:17:13 +0000 Subject: [PATCH] jsx fix --- src/data/layers/metal.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/layers/metal.tsx b/src/data/layers/metal.tsx index 8cd412e..521ae8d 100644 --- a/src/data/layers/metal.tsx +++ b/src/data/layers/metal.tsx @@ -356,7 +356,7 @@ const layer = createLayer(id, function (this: BaseLayer) { + jsx(()=><> {{ [-1]: <>{format(computedMetalGain.value)}/s, 0: undefined, @@ -368,7 +368,7 @@ const layer = createLayer(id, function (this: BaseLayer) { ? <> (Limited by {coal.coal.displayName}) : undefined } - + ) } /> @@ -381,11 +381,11 @@ const layer = createLayer(id, function (this: BaseLayer) { {{ + jsx(()=><>{{ [-1]: <>{format(computedNetOreGain.value)}/s, 0: undefined, 1: <>+{format(computedNetOreGain.value)}/s - }[Decimal.compare(computedNetOreGain.value, 0)]} + }[Decimal.compare(computedNetOreGain.value, 0)]}) } />