mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-08 18:30:36 +01:00
Compare commits
3
Commits
d8f9a2633d
...
v1.29.6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eed9d23646 | ||
|
|
2101dba7c6 | ||
|
|
1b398a5f66 |
No files matched your search
@@ -804,7 +804,7 @@
|
||||
},
|
||||
"guess": {
|
||||
"name": "Угадать",
|
||||
"button": "What could it be?",
|
||||
"button": "Что это за танк?",
|
||||
"description": "Мини-игра «Силуэт»",
|
||||
"seo_description": "Играйте угадывая силуэт танка из World of Tanks Blitz",
|
||||
"search": {
|
||||
|
||||
@@ -5,7 +5,7 @@ import { argv } from "process";
|
||||
const projectDir = "../..";
|
||||
const srcRoot = `${projectDir}/packages/bot`;
|
||||
const distRoot = `${projectDir}/dist/bot`;
|
||||
const modulesRoot = `${projectDir}/packages/bot/node_modules`;
|
||||
const modulesRoot = "../../node_modules";
|
||||
const workers = await readdir(`${srcRoot}/src/workers`);
|
||||
const dev = argv.includes("--dev");
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ import {
|
||||
TankSearch,
|
||||
type TankSearchProps,
|
||||
} from "../../../components/TankSearch";
|
||||
import { awaitableModelDefinitions } from "../../../core/awaitables/modelDefinitions";
|
||||
import { curateMixer } from "../../../core/blitzkit/curateMixer";
|
||||
import {
|
||||
LocaleProvider,
|
||||
@@ -24,8 +25,13 @@ import {
|
||||
type LocaleAcceptorProps,
|
||||
} from "../../../hooks/useLocale";
|
||||
import { Mixer } from "../../../stores/mixer";
|
||||
import { Tankopedia } from "../../../stores/tankopedia";
|
||||
import type { MaybeSkeletonComponentProps } from "../../../types/maybeSkeletonComponentProps";
|
||||
|
||||
const modelDefinition = await awaitableModelDefinitions.then(
|
||||
({ models }) => models[1]
|
||||
);
|
||||
|
||||
export function Page({
|
||||
locale,
|
||||
skeleton,
|
||||
@@ -33,6 +39,7 @@ export function Page({
|
||||
const initial = useRef(curateMixer());
|
||||
|
||||
Mixer.useInitialization(initial.current);
|
||||
Tankopedia.useInitialization(modelDefinition);
|
||||
|
||||
return (
|
||||
<PageWrapper color="gray" p="0" maxWidth="unset">
|
||||
|
||||
Reference in new issue
Block a user