🟡 LootInventoryDisplay: fully built component is orphaned — never rendered #59

Closed
opened 2026-05-18 17:06:38 +02:00 by Anexim · 2 comments
Owner

File: src/components/game/LootInventory/index.tsx (318 lines)

LootInventoryDisplay is a fully functional inventory management UI with search, sort, filter, materials/essence/blueprints/equipment sections, and delete confirmation. It is never imported or rendered anywhere in the codebase.

Impact: Players have no way to view or manage their inventory. The component is dead code.

Fix: Add an "Inventory" tab to page.tsx that renders LootInventoryDisplay with the required props (inventory, elements, equipmentInstances, callbacks).

**File:** `src/components/game/LootInventory/index.tsx` (318 lines) `LootInventoryDisplay` is a fully functional inventory management UI with search, sort, filter, materials/essence/blueprints/equipment sections, and delete confirmation. It is **never imported or rendered anywhere** in the codebase. **Impact:** Players have no way to view or manage their inventory. The component is dead code. **Fix:** Add an "Inventory" tab to `page.tsx` that renders `LootInventoryDisplay` with the required props (`inventory`, `elements`, `equipmentInstances`, callbacks).
Anexim added the ai:todo label 2026-05-18 17:06:38 +02:00
n8n-gitea was assigned by Anexim 2026-05-18 17:06:38 +02:00
Author
Owner

[priority: 2] ORPHANED/DEAD CODE — LootInventoryDisplay fully built but never rendered.

[priority: 2] ORPHANED/DEAD CODE — LootInventoryDisplay fully built but never rendered.
Author
Owner

Fixed: Deleted orphaned LootInventory/index.tsx (the LootInventoryDisplay was already deleted as part of fix #32).

Fixed: Deleted orphaned LootInventory/index.tsx (the LootInventoryDisplay was already deleted as part of fix #32).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Anexim/Mana-Loop#59