mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: remove max count
This commit is contained in:
1 parent
eec9a4c9e6
commit
4206286c21
2 files changed
+4
-9
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
import { Flex, Heading, Text } from '@radix-ui/themes';
|
import { Flex, Heading } from '@radix-ui/themes';
|
||||||
import { use } from 'react';
|
import { use } from 'react';
|
||||||
import { ModuleButton } from '../../../../../../../components/ModuleButton';
|
import { ModuleButton } from '../../../../../../../components/ModuleButton';
|
||||||
import { checkConsumableProvisionInclusivity } from '../../../../../../../core/blitzkrieg/checkConsumableProvisionInclusivity';
|
import { checkConsumableProvisionInclusivity } from '../../../../../../../core/blitzkrieg/checkConsumableProvisionInclusivity';
|
||||||
@@ -25,10 +25,7 @@ export function Consumables() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ConfigurationChildWrapper>
|
<ConfigurationChildWrapper>
|
||||||
<Heading size="4">
|
<Heading size="4">Consumables</Heading>
|
||||||
Consumables{' '}
|
|
||||||
<Text color="gray">(max {protagonist.tank.consumables})</Text>
|
|
||||||
</Heading>
|
|
||||||
|
|
||||||
<Flex wrap="wrap">
|
<Flex wrap="wrap">
|
||||||
{consumablesList.map((consumable, index) => {
|
{consumablesList.map((consumable, index) => {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Flex, Heading, Text } from '@radix-ui/themes';
|
import { Flex, Heading } from '@radix-ui/themes';
|
||||||
import { use } from 'react';
|
import { use } from 'react';
|
||||||
import { ModuleButton } from '../../../../../../../components/ModuleButton';
|
import { ModuleButton } from '../../../../../../../components/ModuleButton';
|
||||||
import { checkConsumableProvisionInclusivity } from '../../../../../../../core/blitzkrieg/checkConsumableProvisionInclusivity';
|
import { checkConsumableProvisionInclusivity } from '../../../../../../../core/blitzkrieg/checkConsumableProvisionInclusivity';
|
||||||
@@ -25,9 +25,7 @@ export function Provisions() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ConfigurationChildWrapper>
|
<ConfigurationChildWrapper>
|
||||||
<Heading size="4">
|
<Heading size="4">Provisions</Heading>
|
||||||
Provisions <Text color="gray">(max {protagonist.tank.provisions})</Text>
|
|
||||||
</Heading>
|
|
||||||
|
|
||||||
<Flex wrap="wrap">
|
<Flex wrap="wrap">
|
||||||
{provisionsList.map((provision, index) => {
|
{provisionsList.map((provision, index) => {
|
||||||
|
|||||||
Reference in new issue
Block a user