diff --git a/fittrackee_client/src/components/Activities/ActivitiesFilter.jsx b/fittrackee_client/src/components/Activities/ActivitiesFilter.jsx index a78fa2e9..848c4f11 100644 --- a/fittrackee_client/src/components/Activities/ActivitiesFilter.jsx +++ b/fittrackee_client/src/components/Activities/ActivitiesFilter.jsx @@ -1,15 +1,18 @@ import React from 'react' +import { translateSports } from '../../utils/activities' + export default class ActivitiesFilter extends React.PureComponent { render() { - const { loadActivities, sports, updateParams } = this.props + const { loadActivities, sports, t, updateParams } = this.props + const translatedSports = translateSports(sports, t) return (
event.preventDefault()}>