#119: fix bug with footer menu won't be re-rendered after lang change

This commit is contained in:
SleepWalker 2016-06-28 12:09:15 +03:00
parent f243eefef3
commit b74d19454e

View File

@ -41,6 +41,8 @@ import { connect } from 'react-redux';
import ContactForm from 'components/contact/ContactForm';
import { create as createPopup } from 'components/ui/popup/actions';
// mark this component, as not pure, because it is stateless,
// but should be re-rendered, if current lang was changed
export default connect(null, {
createPopup: () => createPopup(ContactForm)
})(FooterMenu);
}, null, {pure: false})(FooterMenu);