Skip to content

Commit

Permalink
Merge pull request #101 from reactjs/features/challenges
Browse files Browse the repository at this point in the history
Translate Challenges.tsx
  • Loading branch information
lxmarinkovic authored Nov 24, 2024
2 parents 32d9283 + be06454 commit d0395d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/MDX/Challenges/Challenges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export function Challenges({
children,
isRecipes,
noTitle,
titleText = isRecipes ? 'Try out some examples' : 'Try out some challenges',
titleText = isRecipes
? 'Pogledajte par primera'
: 'Probajte da rešite par izazova',
titleId = isRecipes ? 'examples' : 'challenges',
}: ChallengesProps) {
const challenges = parseChallengeContents(children);
Expand Down

0 comments on commit d0395d1

Please sign in to comment.