Skip to content

Commit 33978c3

Browse files
committed
Comment out mineralsFound and add debug log
The mineralsFound field in parseData is now commented out, possibly for debugging or refactoring. Added a console.log statement to GetProfessionData to output profession data for debugging purposes.
1 parent a9a1398 commit 33978c3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Components/Utility/Utility.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const parseData = ({playerData, collectionStatus, specialRequests, availableSpec
9797
professions: GetProfessionData(playerData.professions.int) , //DONE?
9898
shippedItems: GetShippedItems(playerData.basicShipped) || [],//DONE
9999
cropsShipped: GetCropsAchievements(playerData.basicShipped?.item),//Refactored DONE
100-
mineralsFound: GetArrayData(playerData.mineralsFound?.item) || [], //DONE
100+
//mineralsFound: GetArrayData(playerData.mineralsFound?.item) || [], //DONE
101101
cookedItems: GetCookingData(playerData.recipesCooked, playerData.cookingRecipes.item) || [], //DONE
102102
fishCaught: GetFishes(playerData.fishCaught.item) || [],
103103
tailoredItems: GetArrayDataTimeless(playerData.tailoredItems) || [],
@@ -144,6 +144,7 @@ const GetProfessionData = (professions: number[]): professionsType[] =>{
144144
}
145145
});
146146
}
147+
console.log('Profession Data:', data);
147148
return data;
148149
}
149150

0 commit comments

Comments
 (0)