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
1 changed files with 1 additions and 1 deletions

View File

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