mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-24 09:21:48 +00:00
Fix truck maker crash
This commit is contained in:
parent
c21a72abe4
commit
25620ad12c
1 changed files with 2 additions and 2 deletions
|
@ -509,7 +509,7 @@ const factory = createLayer(id, () => {
|
|||
name: "Clothes",
|
||||
imageSrc: _clothes
|
||||
},
|
||||
truck: {
|
||||
trucks: {
|
||||
name: "Trucks",
|
||||
imageSrc: _truck
|
||||
}
|
||||
|
@ -1299,7 +1299,7 @@ const factory = createLayer(id, () => {
|
|||
<h5>{title}</h5>
|
||||
{(Object.keys(stockData) as ResourceNames[]).map(res => (
|
||||
<div>
|
||||
{RESOURCES[res].name}:{" "}
|
||||
{RESOURCES[res]?.name}:{" "}
|
||||
{stockData[res]?.resource != null
|
||||
? formatWhole(stockData[res]!.resource!.value)
|
||||
: formatWhole(stocks[res] ?? 0)}
|
||||
|
|
Loading…
Reference in a new issue