feat: seperable buttons and remove antagonist configurer

This commit is contained in:
TrèsAbhi committed 2024-08-15 14:32:08 -05:00
1 parent f07aa9a2a7
commit 1132018d16
11 files changed
+36 -200

No files matched your search

+1 -11
View File
@@ -24,14 +24,7 @@ export function ConsumablesManager({
hasHighEndConsumables,
}: ConsumablesManagerProps) {
return (
<Flex
wrap="wrap"
style={{
maxWidth: 288,
borderRadius: 4,
overflow: 'hidden',
}}
>
<Flex wrap="wrap" gap="2">
{consumables.map((consumable, index) => {
const isSelected = selected.some((id) => id === consumable.id);
@@ -53,9 +46,6 @@ export function ConsumablesManager({
: undefined
}
key={consumable.id}
first={index === 0}
last={index === consumables.length - 1}
rowChild
disabled={disabled && !isSelected}
consumable={consumable.id}
selected={isSelected}