i got a simple problem which i cant resolve, i got an "array" which contains and "array" where i want to display the first Picture,
heres the code:
{Skills.map((item, index) =>
<Window key={index} className="col-md-3 m-2 ">
<CardFrame className="cardFrame-max cardFrame-size-md">
<div className="row justify-items-center">
<div className="col-8 offset-2">
<p className="battle-shonen-color">{"Skill Name: " + item.name}</p>
<img src={require('../../' + item.effects[0].icon)}></img>
<p className="battle-shonen-color">{"Skill Shortcode: " + item.shortcode}</p>
<p className="battle-shonen-color">{"Skill Description: " + item.quote}</p>
</div>
</div>
</CardFrame>
</Window>
)}
its at the tag where it shows me the error: "Error: Cannot find module './resources/img/icon/effects/Damage.png'" ,
so it does load the string saved in the array but doesnt add '../../' infront