diff --git a/src/app/tools/tankopedia/[id]/page.tsx b/src/app/tools/tankopedia/[id]/page.tsx index 743054bae..bb287ee1b 100644 --- a/src/app/tools/tankopedia/[id]/page.tsx +++ b/src/app/tools/tankopedia/[id]/page.tsx @@ -5,6 +5,7 @@ import { CaretRightIcon, EnterFullScreenIcon, ExitFullScreenIcon, + GearIcon, MagnifyingGlassIcon, } from '@radix-ui/react-icons'; import { @@ -38,6 +39,7 @@ import { tankNamesDiacritics, } from '../../../../core/blitzkrieg/tankDefinitions'; import { theme } from '../../../../stitches.config'; +import mutateTankopedia from '../../../../stores/tankopedia'; import { Loader } from '../../components/Loader'; import { Controls } from './components/Control'; import { RotationInputs } from './components/RotationInputs'; @@ -169,27 +171,42 @@ export default function Page({ params }: { params: { id: string } }) { - + + + + ()(() => ({ @@ -45,6 +46,7 @@ export const useTankopedia = create()(() => ({ turretYaw: 0, controlsEnabled: true, }, + showSettings: false, })); export default function mutateTankopedia(recipe: (draft: Tankopedia) => void) {