Commit 49edaf02 authored by Connor Hudson's avatar Connor Hudson Committed by GitHub

Merge pull request #609 from technoboy10/gh605-language-dropdown-state

Fix GH-605: Make languagechooser keep locale state
parents 5724a4c6 93054cf3
...@@ -33,7 +33,7 @@ var LanguageChooser = React.createClass({ ...@@ -33,7 +33,7 @@ var LanguageChooser = React.createClass({
<Form className={classes}> <Form className={classes}>
<Select name="language" <Select name="language"
options={languageOptions} options={languageOptions}
defaultValue={this.props.locale} value={this.props.locale}
onChange={this.onSetLanguage} onChange={this.onSetLanguage}
required /> required />
</Form> </Form>
......
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