Skip to content

Commit

Permalink
Fix new categories (#174)
Browse files Browse the repository at this point in the history
* 🔧 Renamed hard coded category names in frontend

* 🔧 Fix Prettier formatting for ts file

* 🔧 Fix hard coded cat name typo
  • Loading branch information
ZenikAdrien authored Jul 18, 2022
1 parent d8a4ac4 commit 4bba77d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/profile/statistics/Statistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const Statistics = ({
countSkills={filterCountSkills("knowledge")}
/>
<BadgeSubojectivesCategoryCompletion
themeToCompare="behavior"
themeToCompare="behaviors"
datas={userAchievements}
src="/img/badges/badge.svg"
titleSubobjective={t(
Expand All @@ -79,7 +79,7 @@ export const Statistics = ({
? t("statistics.subobjectivesLegends.TechnicsAndMethod")
: ""
}
countSkills={filterCountSkills("behavior")}
countSkills={filterCountSkills("behaviors")}
/>
<BadgeSubojectivesProfileCompletion
src="/img/badges/badge.svg"
Expand Down

0 comments on commit 4bba77d

Please sign in to comment.