chore: remove unused imports, vars, and params — 84 imports, 7 vars, 16 params across 45+ files
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s

This commit is contained in:
2026-05-25 20:18:39 +02:00
parent 4aa12a10f0
commit 25ba565467
60 changed files with 78 additions and 115 deletions
@@ -36,18 +36,17 @@ function CraftingProgress({ progress }: { progress: { blueprintId: string; progr
// ─── Blueprint Card ───────────────────────────────────────────────────────────
function BlueprintCard({ bpId, lootInventory, rawMana, isCrafting, startCraftingEquipment, currentAction }: {
function BlueprintCard({ bpId, lootInventory, rawMana, isCrafting, startCraftingEquipment }: {
bpId: string;
lootInventory: LootInventory;
rawMana: number;
isCrafting: boolean;
startCraftingEquipment: (id: string) => void;
currentAction: string | null;
}) {
const recipe = CRAFTING_RECIPES[bpId];
if (!recipe) return null;
const { canCraft, missingMaterials } = canCraftRecipe(recipe, lootInventory.materials, rawMana);
const { canCraft } = canCraftRecipe(recipe, lootInventory.materials, rawMana);
const rarityStyle = LOOT_RARITY_COLORS[recipe.rarity];
return (
@@ -137,7 +136,6 @@ function BlueprintList({ lootInventory, rawMana, startCraftingEquipment, current
rawMana={rawMana}
isCrafting={currentAction === 'craft'}
startCraftingEquipment={startCraftingEquipment}
currentAction={currentAction}
/>
))}
</div>