trick reconciler into re-render on language change
This commit is contained in:
parent
b7ffa458b0
commit
e80ad3b053
|
@ -57,7 +57,7 @@ class App extends Component {
|
|||
<main>
|
||||
<Header {...headerProps} />
|
||||
<div className="main-content">
|
||||
{children}
|
||||
{React.cloneElement(children, { languageSelection })}
|
||||
</div>
|
||||
<Footer />
|
||||
</main>
|
||||
|
|
Loading…
Reference in New Issue