1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 21:08:57 +00:00

rerender subtree on language change

This commit is contained in:
slowbackspace 2019-02-06 18:47:33 +01:00
parent 861a53f5c7
commit a6ab089f35

View File

@ -38,6 +38,7 @@ const ReactIntlProvider = ({ children, locale }: Props) => {
console.log(messages);
return (
<IntlProvider
key={locale}
locale={locale}
messages={messages[locale]}
>