mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-11 19:44:21 +00:00
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>
|
<main>
|
||||||
<Header {...headerProps} />
|
<Header {...headerProps} />
|
||||||
<div className="main-content">
|
<div className="main-content">
|
||||||
{children}
|
{React.cloneElement(children, { languageSelection })}
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user