mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-24 17:31:54 +00:00
jsx fix
This commit is contained in:
parent
99670cc488
commit
307a887053
1 changed files with 4 additions and 4 deletions
|
@ -356,7 +356,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
<Spacer />
|
||||
<MainDisplay resource={metal} color={color} style="margin-bottom: 0" sticky={false}
|
||||
productionDisplay={
|
||||
<>
|
||||
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
|
||||
}
|
||||
</>
|
||||
</>)
|
||||
}
|
||||
/>
|
||||
<Spacer />
|
||||
|
@ -381,11 +381,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
<Spacer />
|
||||
<MainDisplay resource={ore} color={color} style="margin-bottom: 0" sticky={false}
|
||||
productionDisplay={
|
||||
<>{{
|
||||
jsx(()=><>{{
|
||||
[-1]: <>{format(computedNetOreGain.value)}/s</>,
|
||||
0: undefined,
|
||||
1: <>+{format(computedNetOreGain.value)}/s</>
|
||||
}[Decimal.compare(computedNetOreGain.value, 0)]}</>
|
||||
}[Decimal.compare(computedNetOreGain.value, 0)]}</>)
|
||||
}
|
||||
/>
|
||||
<Spacer />
|
||||
|
|
Loading…
Reference in a new issue