From e5d109c9737c55965e91a3c5b83f9c8cd128ad59 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 23:01:53 -0500
Subject: [PATCH] fix: use card tank value
---
.../tankopedia/[id]/components/Model/TechTreeSection.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx b/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx
index 89896882f..30c2cad10 100644
--- a/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx
+++ b/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx
@@ -84,7 +84,7 @@ export function TechTreeSection() {
}}
/>
- {tank.xp?.toLocaleString()}
+ {ancestor.xp?.toLocaleString()}
@@ -98,7 +98,7 @@ export function TechTreeSection() {
}}
/>
- {tank.price.value?.toLocaleString()}
+ {ancestor.price.value?.toLocaleString()}