mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: remove more to... array funcs
This commit is contained in:
1 parent
f8ef0063e4
commit
965d36cdc5
2 files changed
+2
-5
No files matched your search
@@ -75,7 +75,7 @@ export function Options() {
|
|||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Flex>
|
<Flex>
|
||||||
{TIERS.toReversed().map((tier, index) => (
|
{[...TIERS].reverse().map((tier, index) => (
|
||||||
<Button
|
<Button
|
||||||
key={tier}
|
key={tier}
|
||||||
variant={
|
variant={
|
||||||
@@ -107,7 +107,7 @@ export function Options() {
|
|||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Flex>
|
<Flex>
|
||||||
{TANK_TYPES.toReversed().map((type, index) => (
|
{[...TANK_TYPES].reverse().map((type, index) => (
|
||||||
<Button
|
<Button
|
||||||
key={type}
|
key={type}
|
||||||
variant={
|
variant={
|
||||||
|
|||||||
@@ -99,9 +99,6 @@ export default function Page() {
|
|||||||
'name',
|
'name',
|
||||||
'name_short',
|
'name_short',
|
||||||
'id',
|
'id',
|
||||||
'nation',
|
|
||||||
'tree_type',
|
|
||||||
'type',
|
|
||||||
] satisfies (keyof BlitzkriegTankopediaEntry)[],
|
] satisfies (keyof BlitzkriegTankopediaEntry)[],
|
||||||
}).map(({ obj }) => obj),
|
}).map(({ obj }) => obj),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user