Commit 6e89d49f authored by jascha ehrenreich's avatar jascha ehrenreich Committed by Arunoda Susiripala

fix typo (#1856)

parent 87773b98
......@@ -8,7 +8,7 @@ export default class GreetingPage extends React.Component {
return {lang, name}
}
renderSwitchLangageLink () {
renderSwitchLanguageLink () {
const {lang, name} = this.props
const switchLang = lang === 'fr' ? 'en' : 'fr'
return (
......@@ -23,7 +23,7 @@ export default class GreetingPage extends React.Component {
return (
<div>
<h1>{lang === 'fr' ? 'Bonjour' : 'Hello'} {name}</h1>
<div>{this.renderSwitchLangageLink()}</div>
<div>{this.renderSwitchLanguageLink()}</div>
</div>
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment