From cc0bf1811756537354ee6ed7ee8ee053db7ea946 Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Thu, 29 Mar 2018 14:25:41 +0200 Subject: [PATCH] =?UTF-8?q?:alien:=20R=C3=A9pare=20une=20erreur=20de=20map?= =?UTF-8?q?StateToProps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/pages/Header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/components/pages/Header.js b/source/components/pages/Header.js index dd076fb20..c63632d21 100644 --- a/source/components/pages/Header.js +++ b/source/components/pages/Header.js @@ -104,7 +104,7 @@ let Links = ({ toggle }) => ( @withRouter @translate() @connect( - state => {}, + state => ({}), dispatch => ({ changeLanguage: (lang) => dispatch({ type: CHANGE_LANG, lang }) })