Skip to content

Commit

Permalink
fix(i18n): fixes that preview not changing with locale (#5875)
Browse files Browse the repository at this point in the history
  • Loading branch information
ManojBahuguna authored Oct 8, 2021
1 parent bc59b51 commit b331cc6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default class ControlPane extends React.Component {

handleLocaleChange = val => {
this.setState({ selectedLocale: val });
this.props.onLocaleChange(val);
};

validate = async () => {
Expand Down

0 comments on commit b331cc6

Please sign in to comment.