Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmatter committed Aug 27, 2024
1 parent 871e246 commit c421d15
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/ui/views/Player/RatingsOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -475,15 +475,17 @@ const RatingsOverview = ({
<div className="d-flex justify-content-between">
<h2 className="me-3">
Overall:{" "}
<Rating change={currentSeason.ovr - lastSeason.ovr}>
{currentSeason.ovr}
</Rating>
<Rating
change={currentSeason.ovr - lastSeason.ovr}
rating={currentSeason.ovr}
/>
</h2>
<h2>
Potential:{" "}
<Rating change={currentSeason.pot - lastSeason.pot}>
{currentSeason.pot}
</Rating>
<Rating
change={currentSeason.pot - lastSeason.pot}
rating={currentSeason.pot}
/>
</h2>
</div>
<div className="d-flex justify-content-between">
Expand All @@ -509,9 +511,8 @@ const RatingsOverview = ({
(currentSeason as any)[rating] -
(lastSeason as any)[rating]
}
>
{(currentSeason as any)[rating]}
</Rating>
rating={(currentSeason as any)[rating]}
/>
</td>
</tr>
))}
Expand Down

0 comments on commit c421d15

Please sign in to comment.