From ca08417050ec19897d8fb9f4e66bfdee748ead27 Mon Sep 17 00:00:00 2001 From: Benjamin Marguin Date: Wed, 2 Oct 2019 22:31:15 +0200 Subject: [PATCH 1/2] Add missing quote in i18nProvider upgrade guide --- UPGRADE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADE.md b/UPGRADE.md index 41b8feb1f33..6e7e5eb7d2c 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1154,7 +1154,7 @@ 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 = () => ( - +- + ...