This commit is contained in:
tresabhi committed 2026-11-29 17:02:53 -06:00
1 parent 4077e8ee4f
commit 8fa30e986e
14 files changed
+315 -208

No files matched your search

@@ -4,7 +4,7 @@ import { api } from "../../api/dynamic";
import { withErrorWrapper } from "../../hocs/withErrorWrapper";
import { withLocale } from "../../hocs/withLocale";
import { useDuelModules } from "../../hooks/useDuelModules";
import { Tankopedia, TankopediaTab } from "../../stores/tankopedia";
import { Tankopedia } from "../../stores/tankopedia";
import { createAugments, toggleAugment } from "../../tankopedia/augments";
import { selectModule } from "../../tankopedia/selectModule";
import { LoadoutAugments } from "../LoadoutAugments";
@@ -32,10 +32,8 @@ export const TankopediaLoadout = withErrorWrapper(
function Content({ id }: TankopediaLoadoutProps) {
Tankopedia.useInitialization(() => tanks.tanks[id], import.meta.env.SSR);
const tabbed = Tankopedia.use((state) => state.tab === TankopediaTab.Loadout);
return (
<div className={styles.loadout} data-tabbed={tabbed}>
<div className={styles.loadout}>
<ScrollerCurtains orientation={ScrollerOrientation.Vertical} />
<Modules />
<Augments />