Minimal bugfix

This commit is contained in:
Daniel Kluge 2023-12-11 23:49:06 +01:00
parent 4671378238
commit 4f561a0abd

View File

@ -37,7 +37,7 @@ const cardStyle = {
{ {
card.skillBars card.skillBars
.sort((bar1, bar2) => bar2.pct - bar1.pct) .sort((bar1, bar2) => bar2.pct - bar1.pct)
.map((skill, i) => ( .map((skill) => (
<div class="skillBar"> <div class="skillBar">
<div class="barName"> <div class="barName">
<Icon name={skill.icon} /> <Icon name={skill.icon} />
@ -57,7 +57,7 @@ const cardStyle = {
{ {
card.additional && card.additional.length > 0 ? ( card.additional && card.additional.length > 0 ? (
<div class="badgeSet"> <div class="badgeSet">
{card.additional?.map((additional, i) => ( {card.additional?.map((additional) => (
<> <>
<div class="badge"> <div class="badge">
<span> <span>