mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +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>
|
||||
{TIERS.toReversed().map((tier, index) => (
|
||||
{[...TIERS].reverse().map((tier, index) => (
|
||||
<Button
|
||||
key={tier}
|
||||
variant={
|
||||
@@ -107,7 +107,7 @@ export function Options() {
|
||||
</Flex>
|
||||
|
||||
<Flex>
|
||||
{TANK_TYPES.toReversed().map((type, index) => (
|
||||
{[...TANK_TYPES].reverse().map((type, index) => (
|
||||
<Button
|
||||
key={type}
|
||||
variant={
|
||||
|
||||
@@ -99,9 +99,6 @@ export default function Page() {
|
||||
'name',
|
||||
'name_short',
|
||||
'id',
|
||||
'nation',
|
||||
'tree_type',
|
||||
'type',
|
||||
] satisfies (keyof BlitzkriegTankopediaEntry)[],
|
||||
}).map(({ obj }) => obj),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user