diff --git a/public/nav/menu/HamburgerMenu.jsx b/public/nav/menu/HamburgerMenu.jsx index 4292d4a..9559a1c 100644 --- a/public/nav/menu/HamburgerMenu.jsx +++ b/public/nav/menu/HamburgerMenu.jsx @@ -24,13 +24,15 @@ import React from 'react'; import { connect } from 'react-redux'; import { NavLink } from 'react-router-dom'; +import Language from './../../language/Language'; import * as MenuActions from './../../actions/MenuActions'; const HamburerMenuItem = function(props) { + console.log(props); return (
  • - Home + { Language.get(props.lang) }
  • ); @@ -61,9 +63,9 @@ class HamburgerMenu extends React.Component {
    @@ -74,7 +76,8 @@ class HamburgerMenu extends React.Component { const mapStateToProps = function(state) { return { - open: state.menu.open + open: state.menu.open, + language: state.language.code } }