Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down