Skip to content

Commit

Permalink
Fix selector creation in template file
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-victor committed May 26, 2020
1 parent 4433003 commit e92849a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internals/templates/containers/LanguageProvider/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const selectLanguage = state => state.language || initialState;
* Select the language locale
*/

const selectLocale = () =>
createSelector([selectLanguage], languageState => languageState.locale);
const selectLocale = createSelector(
[selectLanguage],
languageState => languageState.locale,
);

export { selectLanguage, selectLocale };

0 comments on commit e92849a

Please sign in to comment.