1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-07 14:50:52 +00:00

removed key prop from IntlProvider

This commit is contained in:
slowbackspace 2019-04-02 17:29:05 +02:00
parent 9c3d30c73d
commit 2b78f0790f

View File

@ -62,11 +62,7 @@ const mapStateToProps: MapStateToProps<State, OwnProps, StateProps> = (
});
const ReactIntlProvider = ({ children, locale, messages }: Props) => (
<IntlProvider
key={locale} // forces rerender IntlProvider when lang file is downloaded
locale={locale}
messages={messages}
>
<IntlProvider locale={locale} messages={messages}>
{children}
</IntlProvider>
);