mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-22 14:00:58 +00:00
update explanation on key prop
This commit is contained in:
parent
8a904b4e06
commit
e6c67d0321
@ -44,7 +44,7 @@ const mapStateToProps: MapStateToProps<State, OwnProps, StateProps> = (state: St
|
|||||||
|
|
||||||
const ReactIntlProvider = ({ children, locale, messages }: Props) => (
|
const ReactIntlProvider = ({ children, locale, messages }: Props) => (
|
||||||
<IntlProvider
|
<IntlProvider
|
||||||
key={locale} // dirty hack to rerender IntlProvider when lang file is downloaded
|
key={locale} // forces rerender IntlProvider when lang file is downloaded
|
||||||
locale={locale}
|
locale={locale}
|
||||||
messages={messages}
|
messages={messages}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user