🟡 Duplicate LootInventoryDisplay implementations #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Files:
src/components/game/LootInventory/index.tsx(318 lines)src/components/game/LootInventory/LootInventoryDisplay.tsx(310 lines)Both files export a function named
LootInventoryDisplaywith nearly identical code. Theindex.tsxversion has slightly more type annotations and usesfmtfrom stores, while theLootInventoryDisplay.tsxversion is marginally cleaner.Impact: Confusion about which file is the canonical one. Both are orphaned (never imported), but having duplicate implementations wastes maintenance effort.
Fix: Consolidate into a single implementation and delete the other file.
[priority: 2] ORPHANED/DEAD CODE — Duplicate LootInventoryDisplay implementations.
Fixed: Duplicate LootInventoryDisplay implementations consolidated — both files were orphaned and have been deleted.