Skip to content

Commit

Permalink
Merge pull request #384 from scottbenton/scottbenton-patch-1
Browse files Browse the repository at this point in the history
Update IronswornTracks.tsx
  • Loading branch information
scottbenton authored Apr 2, 2024
2 parents f7646d8 + 67a51ac commit 2f7d8f6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export function IronswornTracks(props: IronswornTracksProps) {
{new Array(earnedExp - spentExp).fill(undefined).map((key, index) => (
<EarnedIcon key={index} color={"action"} fontSize={"small"} />
))}
{new Array(totalExp - earnedExp).fill(undefined).map((key, index) => (

{new Array(Math.max(totalExp, earnedExp) - earnedExp).fill(undefined).map((key, index) => (
<EmptyIcon key={index} color={"action"} fontSize={"small"} />
))}
</Box>
Expand Down

0 comments on commit 2f7d8f6

Please sign in to comment.