{ LocalizeText('crafting.current_recipe') }
- { (selectedRecipeIngredients.length > 0) && selectedRecipeIngredients.map((item) => renderSelectedRecipeIngredient(item)) }
+ { !!requiredIngredients && (requiredIngredients.length > 0) && requiredIngredients.map(ingredient =>
+ {
+ const ingredientData = ingredients.find((i) => i.name === ingredient.itemName);
+
+ const elements: ReactElement[] = [];
+
+ for (let i = 0; i < ingredient.count; i++)
+ {
+ elements.push();
+ }
+
+ return elements;
+ }) }