From 67fda9b577a4c569a26cb03a56a8dc879dd452a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 3 May 2024 22:54:53 -0500 Subject: [PATCH] feat: falg --- .../[id]/components/Model/TechTreeSection.tsx | 44 +++++++++++++++++-- src/app/tools/tankopedia/[id]/page.tsx | 6 +-- 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx b/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx index aae3905a9..89896882f 100644 --- a/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx +++ b/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx @@ -115,7 +115,16 @@ export function TechTreeSection() { {tank.ancestors && ( <> - + {tank.ancestors.map((id) => ( ))} @@ -125,15 +134,44 @@ export function TechTreeSection() { )} - + + + {tank.successors && ( <> - + {tank.successors.map((id) => ( ))} diff --git a/src/app/tools/tankopedia/[id]/page.tsx b/src/app/tools/tankopedia/[id]/page.tsx index f2cdf175f..8b111e1ff 100644 --- a/src/app/tools/tankopedia/[id]/page.tsx +++ b/src/app/tools/tankopedia/[id]/page.tsx @@ -5,11 +5,9 @@ import PageWrapper from '../../../../components/PageWrapper'; import { assignDuelMember } from '../../../../core/blitzkit/assignDuelMember'; import { mutateDuel, useDuel } from '../../../../stores/duel'; import { mutateTankopediaTemporary } from '../../../../stores/tankopedia'; -import { CharacteristicsSection } from './components/Model/CharacteristicsSection'; import { HeroSection } from './components/Model/HeroSection'; import { HistoricalSection } from './components/Model/HistoricalSection'; import { TechTreeSection } from './components/Model/TechTreeSection'; -import { TankopediaSeparator } from './components/TankopediaSeparator'; import { Videos } from './components/Videos'; export default function Page({ params }: { params: { id: string } }) { @@ -64,8 +62,8 @@ export default function Page({ params }: { params: { id: string } }) { {/* */} - - + {/* + */}