diff --git a/app/soapbox/features/public_layout/components/footer.js b/app/soapbox/features/public_layout/components/footer.js index d34248bc4..3da2588d6 100644 --- a/app/soapbox/features/public_layout/components/footer.js +++ b/app/soapbox/features/public_layout/components/footer.js @@ -5,6 +5,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { Link } from 'react-router-dom'; import { List as ImmutableList } from 'immutable'; +import { getSettings } from 'soapbox/actions/settings'; import { getSoapboxConfig } from 'soapbox/actions/soapbox'; const mapStateToProps = (state, props) => { @@ -13,6 +14,7 @@ const mapStateToProps = (state, props) => { return { copyright: soapboxConfig.get('copyright'), navlinks: soapboxConfig.getIn(['navlinks', 'homeFooter'], ImmutableList()), + locale: getSettings(state).get('locale'), }; }; @@ -25,7 +27,7 @@ class Footer extends ImmutablePureComponent { } render() { - const { copyright, navlinks } = this.props; + const { copyright, locale, navlinks } = this.props; return (