diff --git a/UPGRADE.md b/UPGRADE.md index 41b8feb1f33..7075659ff1e 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1154,10 +1154,10 @@ const messages = { en: englishMessages, }; -const i18nProvider = locale => messages[locale]; -+const i18nProvider = polyglotI18nProvider(locale => messages[locale], 'fr); ++const i18nProvider = polyglotI18nProvider(locale => messages[locale], 'fr'); const App = () => ( -- + ...