fix: gun tier in map

This commit is contained in:
TrèsAbhi committed 2024-05-03 17:10:00 -05:00
1 parent c855bd1653
commit 1c3a20c627
2 files changed
+1 -22

No files matched your search

@@ -133,27 +133,6 @@ export function Characteristics() {
<Flex align="center" gap="4">
<Heading size="5">Fire</Heading>
{/* <Flex>
{gun.shells.map((thisShell, index) => {
return (
<ShellButton
key={thisShell.id}
shell={thisShell.icon}
discriminator={SHELL_NAMES[thisShell.type]}
selected={thisShell.id === shell.id}
first={index === 0}
last={index === gun.shells.length - 1}
rowChild
onClick={() => {
mutateDuel((draft) => {
draft.protagonist!.shell = thisShell;
});
}}
/>
);
})}
</Flex> */}
<Flex>
{gun.shells.map((thisShell, shellIndex) => (
<IconButton
+1 -1
View File
@@ -115,7 +115,7 @@ export function ModuleManager({
<ModuleButton
variant="ghost"
module="gun"
discriminator={TIER_ROMAN_NUMERALS[modules.gun.tier]}
discriminator={TIER_ROMAN_NUMERALS[gun.tier]}
/>{' '}
{gun.name}
</DropdownMenu.RadioItem>