Skip to content

Commit

Permalink
Merge pull request #4419 from kidroca/kidroca/withLocalize-pass-locale
Browse files Browse the repository at this point in the history
Fix: incorrect prop name passed for locale
  • Loading branch information
Luke9389 authored Aug 5, 2021
2 parents f117c99 + ac4c51b commit ec38ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/withLocalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class LocaleContextProvider extends React.Component {
timestampToDateTime: this.timestampToDateTime.bind(this),
fromLocalPhone: this.fromLocalPhone.bind(this),
toLocalPhone: this.toLocalPhone.bind(this),
locale: this.props.preferredLocale,
preferredLocale: this.props.preferredLocale,
};
}

Expand Down

0 comments on commit ec38ff9

Please sign in to comment.