diff --git a/app/components/Toggle/index.js b/app/components/Toggle/index.js index 507623cc86..d9d02b9efa 100644 --- a/app/components/Toggle/index.js +++ b/app/components/Toggle/index.js @@ -20,7 +20,7 @@ function Toggle(props) { } return ( - {content} ); @@ -29,6 +29,7 @@ function Toggle(props) { Toggle.propTypes = { onToggle: React.PropTypes.func, values: React.PropTypes.array, + value: React.PropTypes.string, messages: React.PropTypes.object, }; diff --git a/app/containers/LocaleToggle/index.js b/app/containers/LocaleToggle/index.js index 04b18e3c37..14ecad35fb 100644 --- a/app/containers/LocaleToggle/index.js +++ b/app/containers/LocaleToggle/index.js @@ -19,7 +19,7 @@ export class LocaleToggle extends React.PureComponent { // eslint-disable-line r render() { return ( - + ); } @@ -27,6 +27,7 @@ export class LocaleToggle extends React.PureComponent { // eslint-disable-line r LocaleToggle.propTypes = { onLocaleToggle: React.PropTypes.func, + locale: React.PropTypes.string, }; const mapStateToProps = createSelector(