diff --git a/src/components/footerMenu/FooterMenu.jsx b/src/components/footerMenu/FooterMenu.jsx index 2ac5725..dc46a5e 100644 --- a/src/components/footerMenu/FooterMenu.jsx +++ b/src/components/footerMenu/FooterMenu.jsx @@ -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);