trick reconciler into re-render on language change

This commit is contained in:
crptm 2017-05-30 15:19:51 +04:00
parent b7ffa458b0
commit e80ad3b053

View File

@ -57,7 +57,7 @@ class App extends Component {
<main> <main>
<Header {...headerProps} /> <Header {...headerProps} />
<div className="main-content"> <div className="main-content">
{children} {React.cloneElement(children, { languageSelection })}
</div> </div>
<Footer /> <Footer />
</main> </main>