Skip to content
Snippets Groups Projects
Commit da581c8b authored by chrisgarrity's avatar chrisgarrity
Browse files

fix warnings

parent 60a3dc3a
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ class LanguageSelector extends React.Component {
render () {
const {
onChangeLanguage, // eslint-disable-line no-unused-vars
supportedLocales, // eslint-disable-line no-unused-vars
children,
...props
} = this.props;
......@@ -41,7 +42,7 @@ LanguageSelector.propTypes = {
children: PropTypes.node,
currentLocale: PropTypes.string.isRequired,
onChangeLanguage: PropTypes.func.isRequired,
supportedLocales: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string))
supportedLocales: PropTypes.arrayOf(PropTypes.string)
};
const mapStateToProps = state => ({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment