Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Changes from 1 commit
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
Next Next commit
fixed local change link
  • Loading branch information
naveed-ahmad committed Jan 28, 2017
commit 49e32cac03fcea561e4233243e42a678370c8501
2 changes: 1 addition & 1 deletion src/components/LocaleSwitcher/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class LocaleSwitcher extends Component {
<MenuItem
key={key}
className={key === this.state.currentLocale && 'active'} // NOTE: if you use key `active` it will make all dropdown active
onClick={() => this.handleLocaleClick(key)}
onClick={(e) => this.handleLocaleClick(key, e)}
href={`?local=${key}`}
>
{locales[key]}
Expand Down