Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 5b18673

Browse files
committed
fix: rename "weeklyCount" to "weeklyCost"
1 parent 4c807f4 commit 5b18673

File tree

1 file changed

+2
-2
lines changed
  • src/routes/MyTeamsDetails/components/TeamSummary

1 file changed

+2
-2
lines changed

src/routes/MyTeamsDetails/components/TeamSummary/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const TeamSummary = ({ team }) => {
2727
</DataItem>
2828

2929
<DataItem title="Weekly Cost" icon={<IconMoney />}>
30-
{formatMoney(team.weeklyCount || 0)}
30+
{formatMoney(team.weeklyCost || 0)}
3131
</DataItem>
3232

3333
<DataItem title="Overall Rating" icon={<IconRating />}>
@@ -53,7 +53,7 @@ TeamSummary.propTypes = {
5353
team: PT.shape({
5454
name: PT.string,
5555
endDate: PT.string,
56-
weeklyCount: PT.number,
56+
weeklyCost: PT.number,
5757
rating: PT.number,
5858
}),
5959
};

0 commit comments

Comments
 (0)