fix: tanks with fixed camos no longer have the camo buttons in compare

This commit is contained in:
tresabhi committed 2024-12-14 14:43:04 -06:00
1 parent 03ec44c765
commit 9e4bdcd458
1 file changed
+2
@@ -544,6 +544,7 @@ export function CompareTable({ stats }: CompareTableProps) {
</Popover.Root> </Popover.Root>
</Flex> </Flex>
{!tank.fixed_camouflage && (
<IconButton <IconButton
onClick={() => { onClick={() => {
mutateCompareEphemeral((draft) => { mutateCompareEphemeral((draft) => {
@@ -561,6 +562,7 @@ export function CompareTable({ stats }: CompareTableProps) {
}} }}
/> />
</IconButton> </IconButton>
)}
</Flex> </Flex>
</Table.Cell> </Table.Cell>
); );