mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-19 03:43:17 +01:00
fix: fetch correct stages
This commit is contained in:
1 parent
c6b7918525
commit
15172e8b33
4 files changed
+12
-4
No files matched your search
@@ -23,7 +23,7 @@ function Content({ id }: { id: string }) {
|
||||
() =>
|
||||
aggregateStageParameters(
|
||||
tank.base_stats!,
|
||||
tank.upgrade_stages,
|
||||
tank.upgrade_stages.slice(0, protagonist.stage),
|
||||
protagonist.shell
|
||||
),
|
||||
[protagonist]
|
||||
@@ -38,7 +38,7 @@ function Content({ id }: { id: string }) {
|
||||
<h1>{id}</h1>
|
||||
|
||||
<div style={{ display: "flex", flexWrap: "wrap" }}>
|
||||
{times(tank.upgrade_stages.length, (index) => (
|
||||
{times(tank.upgrade_stages.length + 1, (index) => (
|
||||
<button
|
||||
key={index}
|
||||
onClick={() => {
|
||||
|
||||
Reference in new issue
Block a user