mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
a few imports
This commit is contained in:
1 parent
1b08393f65
commit
9c67fd3204
3 files changed
+4
-4
No files matched your search
@@ -14,9 +14,9 @@ import {
|
|||||||
ResetIcon,
|
ResetIcon,
|
||||||
TrashIcon,
|
TrashIcon,
|
||||||
} from "@radix-ui/react-icons";
|
} from "@radix-ui/react-icons";
|
||||||
import { times } from "lodash-es";
|
|
||||||
import { Fragment } from "react";
|
import { Fragment } from "react";
|
||||||
import { api } from "../../api/dynamic";
|
import { api } from "../../api/dynamic";
|
||||||
|
import { awaitableTiers } from "../../core/awaitables/tiers";
|
||||||
import { useStrings } from "../../hooks/useStrings";
|
import { useStrings } from "../../hooks/useStrings";
|
||||||
import { useUnwrapper } from "../../hooks/useUnwrapper";
|
import { useUnwrapper } from "../../hooks/useUnwrapper";
|
||||||
import { App } from "../../stores/app";
|
import { App } from "../../stores/app";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { times } from "lodash-es";
|
import { times } from "lodash-es";
|
||||||
import { api } from "../blitzkit/api";
|
import { api } from "../../api/dynamic";
|
||||||
|
|
||||||
export const awaitableTiers = api.tankDefinitions().then((tankDefinitions) => {
|
export const awaitableTiers = api.tanks().then((tankDefinitions) => {
|
||||||
let max = 0;
|
let max = 0;
|
||||||
|
|
||||||
for (const tank of Object.values(tankDefinitions.tanks)) {
|
for (const tank of Object.values(tankDefinitions.tanks)) {
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ export function computeCharacteristics(
|
|||||||
return computed.get(name)!;
|
return computed.get(name)!;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(scriptsMap);
|
// console.log(scriptsMap);
|
||||||
|
|
||||||
function script(
|
function script(
|
||||||
side: DuelSide,
|
side: DuelSide,
|
||||||
|
|||||||
Reference in new issue
Block a user