From 421ea6c20a7b1451890084d9c0f716ea893dd6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 13 Jul 2024 13:49:06 -0500 Subject: [PATCH] fix: tank filters provider for antagonist selector --- src/app/tools/tankopedia/[id]/layout.tsx | 29 +++++++++++++----------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/layout.tsx b/src/app/tools/tankopedia/[id]/layout.tsx index 9db05a4a6..61c38ed14 100644 --- a/src/app/tools/tankopedia/[id]/layout.tsx +++ b/src/app/tools/tankopedia/[id]/layout.tsx @@ -5,6 +5,7 @@ import { TIER_ROMAN_NUMERALS } from '../../../../core/blitzkit/tankDefinitions/c import { tankIcon } from '../../../../core/blitzkit/tankIcon'; import strings from '../../../../lang/en-US.json'; import * as Duel from '../../../../stores/duel'; +import * as TankFilters from '../../../../stores/tankFilters'; export default async function Layout({ children, @@ -23,19 +24,21 @@ export default async function Layout({ const description = `Statistics, armor, and equipment for ${tank.name}`; return ( - - {title} - - - - + + + {title} + + + + - {children} - + {children} + + ); }