Skip to content

Commit

Permalink
fix(templates): use correct name of a selector (react-boilerplate#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dattaya authored and mxstbr committed Dec 9, 2016
1 parent a09fb22 commit 328a6ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internals/templates/languageProvider/languageProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { IntlProvider } from 'react-intl';

import { selectLocale } from './selectors';
import { makeSelectLocale } from './selectors';

export class LanguageProvider extends React.PureComponent { // eslint-disable-line react/prefer-stateless-function
render() {
Expand All @@ -31,7 +31,7 @@ LanguageProvider.propTypes = {


const mapStateToProps = createSelector(
selectLocale(),
makeSelectLocale(),
(locale) => ({ locale })
);

Expand Down

0 comments on commit 328a6ed

Please sign in to comment.