Delete unused getCardName function

This commit is contained in:
qowevisa 2024-11-28 16:43:27 +02:00
parent 112d509274
commit bbe5eb813f

View File

@ -117,11 +117,6 @@
}
// Helper function to get the name of the parent category
function getCardName(cardId: number) {
if (cardId === 0) return "None";
const card = cards.find((card) => card.id === cardId);
return card ? card.name : "Unknown";
}
function getTypeColor(typeId: number) {
if (typeId === 0) return "None";
const type = types.find((card) => card.id === typeId);