From 4206286c212d2ade96e092263b5373fe6ac47226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 9 Feb 2024 23:43:30 -0600 Subject: [PATCH] feat: remove max count --- .../components/Characteristics/components/Consumables.tsx | 7 ++----- .../components/Characteristics/components/Provisions.tsx | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/Characteristics/components/Consumables.tsx b/src/app/tools/tankopedia/[id]/components/Characteristics/components/Consumables.tsx index 55f489eaa..971ffa3fe 100644 --- a/src/app/tools/tankopedia/[id]/components/Characteristics/components/Consumables.tsx +++ b/src/app/tools/tankopedia/[id]/components/Characteristics/components/Consumables.tsx @@ -1,4 +1,4 @@ -import { Flex, Heading, Text } from '@radix-ui/themes'; +import { Flex, Heading } from '@radix-ui/themes'; import { use } from 'react'; import { ModuleButton } from '../../../../../../../components/ModuleButton'; import { checkConsumableProvisionInclusivity } from '../../../../../../../core/blitzkrieg/checkConsumableProvisionInclusivity'; @@ -25,10 +25,7 @@ export function Consumables() { return ( - - Consumables{' '} - (max {protagonist.tank.consumables}) - + Consumables {consumablesList.map((consumable, index) => { diff --git a/src/app/tools/tankopedia/[id]/components/Characteristics/components/Provisions.tsx b/src/app/tools/tankopedia/[id]/components/Characteristics/components/Provisions.tsx index fd80f9c48..72aaf658b 100644 --- a/src/app/tools/tankopedia/[id]/components/Characteristics/components/Provisions.tsx +++ b/src/app/tools/tankopedia/[id]/components/Characteristics/components/Provisions.tsx @@ -1,4 +1,4 @@ -import { Flex, Heading, Text } from '@radix-ui/themes'; +import { Flex, Heading } from '@radix-ui/themes'; import { use } from 'react'; import { ModuleButton } from '../../../../../../../components/ModuleButton'; import { checkConsumableProvisionInclusivity } from '../../../../../../../core/blitzkrieg/checkConsumableProvisionInclusivity'; @@ -25,9 +25,7 @@ export function Provisions() { return ( - - Provisions (max {protagonist.tank.provisions}) - + Provisions {provisionsList.map((provision, index) => {