From 0958f63a1dfd655b2c233d2c05e7d66e188ac8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20L=C3=A4rka?= Date: Thu, 13 Sep 2018 16:09:43 +0200 Subject: [PATCH] Change to correct class name in withLocalize call Can be confusing with the wrong exports --- source/index.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/index.html.md b/source/index.html.md index a7c74620387..db7624256c8 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -1045,7 +1045,7 @@ class Greetings extends React.Component { } } -export default withLocalize(Movies); +export default withLocalize(Greetings); ``` The `addTranslation` method is used to add translations data in the [all languages format](#all-languages-format) to localize. @@ -1089,7 +1089,7 @@ class Greetings extends React.Component { } } -export default withLocalize(Movies); +export default withLocalize(Greetings); ``` The `addTranslationForLanguage` method is used to add translations data in the [single language format](#single-language-format) to localize.