mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-15 05:36:11 +01:00
feat: start of atts
This commit is contained in:
1 parent
57b6ba19f0
commit
036cc9915d
3 files changed
+380
-318
No files matched your search
@@ -1,10 +1,5 @@
|
||||
import { TankAttributeChange_AttributeName } from "@protos/blitz_static_tank_upgrade_single_stage";
|
||||
import { times } from "lodash-es";
|
||||
import { Suspense, useMemo } from "react";
|
||||
import {
|
||||
CharacteristicsGroup,
|
||||
_characteristicsOrder,
|
||||
} from "../../../constants/characteristics";
|
||||
import { api } from "../../../core/api/dynamic";
|
||||
import { aggregateAttributes } from "../../../core/blitz/aggregateAttributes";
|
||||
import { useAwait } from "../../../hooks/useAwait";
|
||||
@@ -35,6 +30,7 @@ function Content({ id }: { id: string }) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<pre children={JSON.stringify(tank, null, 2)} />
|
||||
<h1>{tank.name?.value}</h1>
|
||||
|
||||
<h2>Characteristics</h2>
|
||||
@@ -53,7 +49,7 @@ function Content({ id }: { id: string }) {
|
||||
))}
|
||||
</div>
|
||||
|
||||
{_characteristicsOrder.map((group) => (
|
||||
{/* {_characteristicsOrder.map((group) => (
|
||||
<>
|
||||
<h2>{CharacteristicsGroup[group.group]}</h2>
|
||||
|
||||
@@ -67,7 +63,7 @@ function Content({ id }: { id: string }) {
|
||||
)
|
||||
)}
|
||||
</>
|
||||
))}
|
||||
))} */}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user