mirror of
https://github.com/trezor/trezor-wallet
synced 2025-06-24 17:08:49 +00:00
removed key prop from IntlProvider
This commit is contained in:
parent
9c3d30c73d
commit
2b78f0790f
@ -62,11 +62,7 @@ const mapStateToProps: MapStateToProps<State, OwnProps, StateProps> = (
|
|||||||
});
|
});
|
||||||
|
|
||||||
const ReactIntlProvider = ({ children, locale, messages }: Props) => (
|
const ReactIntlProvider = ({ children, locale, messages }: Props) => (
|
||||||
<IntlProvider
|
<IntlProvider locale={locale} messages={messages}>
|
||||||
key={locale} // forces rerender IntlProvider when lang file is downloaded
|
|
||||||
locale={locale}
|
|
||||||
messages={messages}
|
|
||||||
>
|
|
||||||
{children}
|
{children}
|
||||||
</IntlProvider>
|
</IntlProvider>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user