mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-30 00:40:41 +05:30
#119: fix bug with footer menu won't be re-rendered after lang change
This commit is contained in:
parent
f243eefef3
commit
b74d19454e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user