1
0
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:
slowbackspace 2019-02-21 14:28:36 +01:00
parent 8a904b4e06
commit e6c67d0321

View File

@ -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}
> >