Skip to content

Commit

Permalink
Merge pull request #4 from robkpaul/className_fix
Browse files Browse the repository at this point in the history
Fix missing className causing weird styling on dungeoneering gear
  • Loading branch information
rp50 committed Nov 15, 2023
2 parents fd5cafc + f5c1bd6 commit a011a33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const gearMapped = [...startingGear.entries()].map(
([slot, value]) => {
if (slot == "Dungeoneering Gear") {
return <>
<div key={slot}>{slot}: {value[Math.floor(Math.random() * value.length)]}</div>
<div key={slot}>{slot}: {value[Math.floor(Math.random() * value.length)]}</div>
<div key={slot} className="value">{slot}: {value[Math.floor(Math.random() * value.length)]}</div>
<div key={slot} className="value">{slot}: {value[Math.floor(Math.random() * value.length)]}</div>
</>;
}
return <div key={slot} className="value">{slot}: {value[Math.floor(Math.random() * value.length)]}</div>;
Expand Down

0 comments on commit a011a33

Please sign in to comment.