mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-30 05:14:06 +01:00
banner
This commit is contained in:
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 />
|
||||
|
||||
Reference in new issue
Block a user